-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Upgrade to react-scripts@5.0.0 #712
Comments
kindly assign this one to me boss @aeolianeth |
@sticklo I think you should be able to assign yourself now! |
Its alright, thank you for the update @aeolianeth. |
There isn't a straightforward migration path that I feel comfortable taking without input from the core team that is beyond the scope of this task. (cc: @aeolianeth, @johnnyd-eth, @peripheralist). facebook/create-react-app#11756
After reading through this issue we have a couple of options that are not great.
|
I'd say 1 and 2 are off the table. Have you looked into what progress is being made on 3 @benschac ? I'm sure lots of apps have this problem, I'd be happy to wait as long as we need to for a safe solution with more community adoption |
Agree, don't want to eject. What do we need the polyfills for? And what are the missing polyfills? Don't need a specific list yet, just want to get a sense of it |
We shouldn't need to be polyfilling anything ideally I think - we're only supporting the latest browsers. I imagine it's Antd or some other dependency that relies on polyfills. If so we could consider upgrading those first. |
ProgressThere is an open PR (facebook/create-react-app#11764), and it's been marked for release in The PR linked above looks promising after reading the docs a bit (https://github.com/facebook/create-react-app/pull/11764/files#diff-d532c364ffff91db2d2bedd34a7a44d2574fee0dd832ecb9324342704e1eeb85). It mostly looks like minor documentation nitpicks that is holding it up. Another solution could be to:
A lot of apps do have this problem! Gnosis Safe went with option #2 (safe-global/safe-react-apps#409) via Chain Safe's web3.js documentation (https://github.com/ChainSafe/web3.js#web3-and-create-react-app). PolyfillsA bit more context on why polyfills are removed in Webpack's documentation (https://webpack.js.org/blog/2020-10-10-webpack-5-release/#automatic-nodejs-polyfills-removed)
This is the post MDN used to define a polyfill.
There are many! I didn't get them all. After reading through the docs/PRs/Issues, I figured the next best step was getting feedback from the team on next steps.
|
My 2 cents: Option 2 seems like a viable path forward after looking at ChainSafe's Docs docs for |
Closing due to NextJS migration |
Woooooo! Lfg
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: aeolian ***@***.***>
Sent: Thursday, June 2, 2022 11:44:41 PM
To: jbx-protocol/juice-interface ***@***.***>
Cc: benjamin ***@***.***>; Mention ***@***.***>
Subject: Re: [jbx-protocol/juice-interface] Upgrade to ***@***.*** (Issue #712)
Closed #712<#712> as completed.
—
Reply to this email directly, view it on GitHub<#712 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AATDCI7ORWCZG6GP6EN4BFDVNF5STANCNFSM5RHMUJKQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Description
we're currently on react-scripts@4.0.3.
Proposal
Upgrade to react-scripts@5.0.0, to take advantage of bundle size optimizations and faster compile times offered by Webpack 5 (vs Webpack 4).
The text was updated successfully, but these errors were encountered: