-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't be used around solid-js/router #3
Comments
Interestingly enough this works: const Root = (props: ParentProps) => {
return (
<I18nProvider {...i18nState}>
<App>{props.children}</App>
</I18nProvider>
);
};
render(
() => <Router root={Root}>{routes}</Router>,
document.getElementById("root")!
); |
@onx2 Once again, thank you for your feedback. I apologize for not yet knowing why the above two methods do not work properly, but I'm glad you found a viable solution. As I'm currently busy with work, I may only have the energy to investigate this further later. |
I think the solution I posted is fine for the time being - thanks for the quick reply! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying this package out and it is great so ty for your work!
I noticed a bug that prevented me from wrapping my router in the provider. I'm not sure what is going on but the routes are not rendered when I click a link if the
Router
component is wraped inI18nProvider
.Broken
Also Broken
The text was updated successfully, but these errors were encountered: