score:0
i promised myself i'd circle back and help you out once i found a solution, as i was experiencing the same problem and i believe we're working from the same reference example.
i exhausted the following:
- matching the exact package includes from the reference project.
- literally pulling the reference project itself and trying to modify it.
- trying every possible permutation of react component styles.
- trying every possible permutation of routing configuration.
i finally dug into the found router source and decided to give the following a try (with great success):
import { createbrowserrouter } from 'found'
...
const router = createbrowserrouter({
historymiddleware: [querymiddleware],
routeconfig: routes
})
i don't know if there's currently an unaddressed bug in the farce
router that is used by the reference application or if perhaps it has some quietly unfulfilled dependency on redux (as it uses redux internally), but this router version worked fine for me!
Source: stackoverflow.com
Related Query
- Found routing for relay modern is not working
- CSS not working for nested routing in react js
- `updater` not working correctly when using subscriptions in Relay Modern
- How can handle not found page for nested routing in react router v4?
- Routing not working in my code for '/about', while home page working
- Getting blank page on using browser router and it's working when not using browser router for routing
- Express server routing issue - does not allow for other routes only home route working
- ReactJS Bootstrap Navbar and Routing not working together
- proxy not working for react and node
- Definition for rule 'react-hooks/exhaustive-deps' was not found
- Intellisense for Jest not working in VS code
- library not found for -lDoubleConversion
- Populating Material-UI DataGrid from MongoDB failing for unique ID not found
- simulate for onClick not working in enzyme
- react-router: Not found (404) for dynamic content?
- CSS modules not working for react version 16.6.0
- Definition for rule 'simple-import-sort/sort' was not found simple-import-sort/sort
- NavLink exact prop not working for react-router-dom 6
- Why is webpack code splitting not working for me?
- Invariant Violation: View config not found for name div
- Azure App service not working with custom routing in React-Redux web app - need wildcard virtual directories?
- Next JS npm start app load 404 page not found error for physical pages
- Nested routing is not working in React Router v6
- setState not working for updating an array in React
- Built-in snippet not working in VS Code for React
- semantic-ui-react <Responsive> not working for <Table.Cell>
- Webpack config for Code splitting not working for production build
- 100% height not working for Drawer, Material Design React
- flexWrap not working for <Text> element in React Native
- How to handle not found 404 for dynamic routes in Next.js which is calling API?
More Query from same tag
- Nested redux reducers
- How to get updated useState() value inside timeout function?
- React image on click get border
- How to use setState after a css transition ends in React JS?
- Why is React.FunctionComponenent preferred over conventional function definitions?
- How do I mock the implementation of material-ui withStyles?
- precacheAndRoute TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
- My ReactJS/Django(Rest API) prompts an Unhandled Promise rejection when I browse from a different PC on the LAN
- JSX: You may need an appropriate loader to handle this file type
- React: <tr> cannot appear as a child of <td>. See Comment > td > tr
- How to set a NavLink as active using react-router-dom
- Failed to compile. Module not found: Can't resolve 'firebase'
- Destructuring or variable declaration in a class in React
- How can I modify the props of one child component from a separate child component?
- Conditional useNavigate(), within button, based on error response
- Call API from React
- React.js states won't change
- How to translate the content of a <SelectInput /> or any other components?
- How to make a Semantic Ui React Sidebar With Dropdown
- Meteor React Subscription
- How to stop restarting for loop when dependency change in useEffect (React js)
- React useContext & Typescript: Not an Array Type
- Why handlesubmit is not working on this react-hook-form implementation?
- Unable to get index, NaN was returned
- Not able to display material ui snackbar in center
- How to display a list of movies from an API using ReactJS
- Cannot read property 'pop' of undefined || next.js
- Passing array of objects to the List component as props and iterate it using map method. But getting error: Cannot set property 'props' of undefined
- CSS Scaling of img in React changes position offset behavior
- How to redirect/collapse an expanded edit form after hitting submit in React-Admin