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
{{ message }}
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
my form page styles were lost. And when we selected a new or clicked on back arrow in the browser the former page now had lost styles as well. So we think the conflict is somehow connected to the router.
Once we removed the reference to:
"start": "react-app-rewired start",
and changed it: back to the original start script:
"start": "react-scripts start",
styles returned as they should. The key problem page also had a Redux-Form component on it as well so not sure if that was a contributing factor or not.
the root component used React Router and the ThemeProvider with a Wrapper as so:
app.js
When added Rewire and rewireStyledComponents config file to my "create-react-app" code:
my form page styles were lost. And when we selected a new or clicked on back arrow in the browser the former page now had lost styles as well. So we think the conflict is somehow connected to the router.
Once we removed the reference to:
"start": "react-app-rewired start",
and changed it: back to the original start script:
"start": "react-scripts start",
styles returned as they should. The key problem page also had a Redux-Form component on it as well so not sure if that was a contributing factor or not.
the root component used React Router and the ThemeProvider with a Wrapper as so:
app.js
wrapper.js
Let me know what you would need to investigate further..
All the best,
Jeremy
The text was updated successfully, but these errors were encountered: