-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React-Hot-Loader: react-🔥-dom patch is not detected. #26021
Comments
The above is the simplest way to see this problem - it happens any other more complex scenario I tried, as well |
Hey Nikolaj, there is already an issue created for this here: #11934 so going to close this one as a duplicate! |
Thanks @herecydev for such quick response. The thread you cited is amongst the longer ones I read. Even after reading it, I am not sure what is the resolution (other than a few suggestions proposing a I am assuming that the #11934 remains open. |
No worries, have you tried this solution from Ward: #11934 (comment) |
I did not - and I believe that it works. I am not a friend of using workarounds as it is likely I will keep it forever, forgetting what it was about 😺 |
In this case "fast-refresh" is the replacement for hot-loader. Lots of information here: facebook/react#16604 Hope that helps! |
Perfect, you are very helpful, Dan |
Hoping that this following feedback might help to create a succinct recipe for using either @wardpeet's comment, or using "fast refresh" here is my take: I am coming from an attempt to write a tutorial on the architecture of full-stack apps, using a variety of front end frameworks paired with a variety of back end app, one pair being [gatsby, strapi]. So my interest was the communication between these two components and since I realized that I nearly completely forgot how to use Gatsby, I wanted to go through Gatsby tutorials. Alas, after building the most trivial Gatsby app, I run into [this issue(https://github.com//issues/26021#issue-665596958) I reported one hour ago. So, I tried to distill the solution for my problem (note, I hate error message in the Browser's console, a most often there are more than one problem indicators and it takes time to decode what is going on; so I a very anxious not to have errors in the console). Example: @wardpeet's comment suggests using Should How to Set Up Hot Module Replacement with React? be the best source of information for people like me (who like Gatsby but do not have the desire to build it)? |
@herecydev - how about using |
Description
Even the simplest Gatsby application fails with this error message:
Steps to reproduce
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).
I followed the instructions at https://www.gatsbyjs.org/tutorial/part-zero/#create-a-gatsby-site
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here.I am not sure what is the meaning of the
ERROR
indicator (last data item in runninggatsby info --clipboard
The text was updated successfully, but these errors were encountered: