2 ms·
> Even though the warning itself links to a GitHub Gist that explains the issue and solutions quite well, searching the language of the warning will retrieve Re
by yorwba 2y ago
> Even though the warning itself links to a GitHub Gist that explains the issue and solutions quite well, searching the language of the warning will retrieve Reardon’s post and other solutions before the linked Gist from the React team.
Seems like even if you give people a link explaining how to solve the underlying problem, some of them will still just search for the warning text and apply the simplest tweak that will silence it, even if it doesn't solve the problem.
My takeaway is that the official guide for dealing with a warning or error needs to contain the message text verbatim so that a web search has better chances of finding it.
Also, it appears that the React team has given up on educating their users https://github.com/facebook/react/pull/26395 https://github.com/facebook/react/pull/26395 so now all those workarounds are extra pointless.