Open SerdarSanri opened 1 year ago
At first sight
createBrowserRouter()
!= <BrowserRouter/>
not sure if I understood what you mean. the only change I added here is adding a router component prop to allow developer to pass different Router component if needed, and it defaults to original Router component. In the end it is not changing anything in existing code pretty much. In case if someone needs to use a spesific router component instead of generic Router, they would be able to pass it as prop.
15