-
Notifications
You must be signed in to change notification settings - Fork 327
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
ReactDOM.hydrate() is deprecated, console error #3478
Comments
@calculuschild Do we want to fix this in your Fork or open a PR to make the change to webpack or another bundling program? @Gazook89 @G-Ambatte @ericscheid @dbolack-ab Could use everyone's opinion on this, specially if someone wants to try. |
I can fix this on my Vitreum branch for a quick fix now but we should eventually move to a new bundler. That will probably be a larger project. At some poiny I think Webpack was looking like the best option but not sure if that's still true. |
Isn't vitreum a combination of multiple tools? Browserify, vite, babel, etc? So pulling it out would necessitate bringing all of those into the homebrewery repo as separate pieces? Not against it, and maybe i have that wrong. Edit: And this issue probably isn't the place to comment on a large change like that. |
Opened Migrate from Vitreum to Webpack AND/OR other services (#3480) to track that. |
Yeah it is. Browserify and Babel, but we already kind of pulled them out into our BuildHomebrewery script. Vitreum is mostly a wrapper for Browserify, which is the bundler. It has some default settings baked in for Babel, and includes watchify and nodemon which are the "auto-restart/rebuild" tools. Then it kind of outputs it all into a string that launches the app on the client. That's basically it. |
This is fixed in Vitreum now. Should appear next time we deploy something when it downloads the new version. See calculuschild/vitreum#3 |
Renderer
Both
Browser
Chrome
Operating System
MacOS
What happened?
The dev build throws a console error about hydrate() being deprecated:
This is a stab in the dark, but is this coming from Vitreum? This line in particular:
possibly relevant react doc:https://react.dev/blog/2022/03/08/react-18-upgrade-guide#updates-to-client-rendering-apis
The text was updated successfully, but these errors were encountered: