Open 0xHexE opened 2 years ago
I was about to report another bug. But found another related to #961. When you change the URLs using the button, it is not showing working.
And the bug I was going to report was, It is rendering dom when we change the route. It renders again the app and another one too which leads to loose states like focus and all.
Can you check what it's like if you change the createRoot
part to the old ReactDOM.render
way? E.g. see this comment: https://github.com/4Catalyzer/found/issues/968#issuecomment-1113285768
I have the following
routeConfig
.I have an example here https://stackblitz.com/edit/react-ts-vzxs8c
https://react-ts-vzxs8c.stackblitz.io/test
https://react-ts-vzxs8c.stackblitz.io/ Gives me 404, but it is matching
/
App
right then why it is giving a not found page? We should pass not found to theApp
instead?If I want to configure it in this way what should I do?