Error: Minified React error #301

It's being worked on now, so no more than a couple weeks unless the fix ends up being more complex than anticipated. The workaround is pretty straightforward, though! Create a new transformer with the following code and then set it as the data source for the List View.

return {{ listViewSource.data }}.filter(ele => !ele.hidden)

Okay great! Thanks

I have a quick update on this, @cason - after scoping out a fix for this issue, it seems to be more involved than we initially estimated and and would actually have a fairly limited impact. Given how straightforward the workaround is, we are inclined to postpone development.

Can you confirm that simply filtering the hidden elements being passed into the listView fixes the initial error you were seeing?

Hi @Darren, That is unfortunate. The impact to our teams has been quite large and as this thread shows, others are having the same issue. I will attempt the work around.

Understood - let me know once you've had a chance to refactor. :+1: To expand a bit on the above, we are also starting to define what we consider to be "best practices" within the Retool ecosystem and that includes filtering data in a transformer or something similar before passing it into the listView.

We absolutely will revisit this, to be clear, but I just can't give any concrete timeline. Thanks @cason!

@Darren Thanks for the help here. I added the transform and it seems to be working! The best practices documentation will be a great add! Thank you for the help

1 Like

Glad to hear it. :pray: I'll go ahead and mark this workaround as the "Solution" in order to improve discoverability, but will leave the topic open for the sake of continued community input.