Closed jet10000 closed 3 years ago
Never considered that someone might use both ReactRefreshPlugin and SveltePlugin on a same file. I will soon release a hot fix for that.
Sadly, the fix would be delayed because somehow my monitor burnt out 😞. Until then you can't use the ReactRefreshPlugin. That's it.
I found out now. The problem is in your plugins, you have put the ReactRefreshPlugin
two times. One using UsePlugin
and another using ReactRefreshPlugin
. Either remove the UsePlugin
or the ReactRefreshPlugin
to fix the issue.
But when I change the content of the react app, the entire page is refreshed
No way left until I investigate the issue.
Try to part up your component files. One file should contain only component(s) and the other files should render the elements to the document using ReactDOM.render()
Glad it worked!
I want to test placing svelte app, vue app, react app on the same page, if you just put svlet app and vue ap on the same page, there is no problem, but when I configure ReactRefreshPlugin, the command line shows conflict :Identifier'__Runtime' has already been declared
node reboost
reboost.js