Problem created by custom routing for react-router
-
We experienced an odd issue with, we believe, the newly-added feature of “Create custom routing for react-router based on slug of the reactpress page.” (which is listed as part of v1.3.2).
We have our react app at (for example): ourdomain.com/reactapp
and then we have another, non-react page at ourdomain.com/reactapp/subpageHowever, once we upgraded to v1.3.2 the page at ourdomain.com/reactapp/subpage was displaying the content of ourdomain.com/reactapp
We rolled back to v1.3.0 and the issue was no longer occurring.
We’ve only been assisting in connecting the WordPress site and the React app. We haven’t worked on the React itself, so I can’t say whether or not there’s something in the app that we could have done to avoid this issue with the latest version (v.1.3.2) of the plugin.
Hope this helps someone else.
- The topic ‘Problem created by custom routing for react-router’ is closed to new replies.