You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The website loads really slowly on mobile, I think server rendering would be more performant but I'm not too keen on rewriting the whole project to an ssr framework.
The least painful method is probably to update react router and then follow their migration guide to the framework. I̶ ̶t̶h̶i̶n̶k̶ ̶I̶'̶l̶l̶ ̶a̶l̶s̶o̶ ̶n̶e̶e̶d̶ ̶t̶o̶ ̶s̶w̶i̶t̶c̶h̶ ̶f̶r̶o̶m̶ ̶w̶e̶b̶p̶a̶c̶k̶ ̶t̶o̶ ̶v̶i̶t̶e̶ ̶s̶i̶n̶c̶e̶ ̶t̶h̶e̶y̶ ̶d̶o̶n̶'̶t̶ ̶s̶u̶p̶p̶o̶r̶t̶ ̶o̶t̶h̶e̶r̶ ̶b̶u̶n̶d̶l̶e̶r̶s̶ ̶a̶n̶y̶m̶o̶r̶e̶ ̶(̶?̶)̶
The website loads really slowly on mobile, I think server rendering would be more performant but I'm not too keen on rewriting the whole project to an ssr framework.
The least painful method is probably to update react router and then follow their migration guide to the framework. I̶ ̶t̶h̶i̶n̶k̶ ̶I̶'̶l̶l̶ ̶a̶l̶s̶o̶ ̶n̶e̶e̶d̶ ̶t̶o̶ ̶s̶w̶i̶t̶c̶h̶ ̶f̶r̶o̶m̶ ̶w̶e̶b̶p̶a̶c̶k̶ ̶t̶o̶ ̶v̶i̶t̶e̶ ̶s̶i̶n̶c̶e̶ ̶t̶h̶e̶y̶ ̶d̶o̶n̶'̶t̶ ̶s̶u̶p̶p̶o̶r̶t̶ ̶o̶t̶h̶e̶r̶ ̶b̶u̶n̶d̶l̶e̶r̶s̶ ̶a̶n̶y̶m̶o̶r̶e̶ ̶(̶?̶)̶
Edit: rspack/rsbuild migration is easier: https://github.com/rspack-contrib/rsbuild-plugin-react-router
Reference: https://reactrouter.com/upgrading/component-routes
The text was updated successfully, but these errors were encountered: