-
Notifications
You must be signed in to change notification settings - Fork 40
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
Vite Support #227
Comments
😃 yeah, independent from a bundler, but not from babel 🤷♂️ In any case - babel is not required for anything NOT involving SSR, and you've said you don't have it. So, let me be honest, I never tried imported with Vite. Is it working? Is it not? |
I can try it. Is there any config need than or do I just install the package and use the imports? |
Just using should be fine. Marks are important only for hydration phase, later they are used only as fallback - https://github.com/theKashey/react-imported-component/blob/master/src/loadable/loadable.ts#L43 |
Hey @theKashey. We are using |
Without SSR marks are not important and I might need to provide a way to suppress this error after hydration as it only creates noise |
@theKashey Right. The warnings are creating a lot of noise in the console. A way to suppress them would be very helpful. |
@theKashey Hello,
I want to know how to use this libary with vite? (Without SSR)
Since there is no babel I cant use the babel plugin, so is this libary not working with vite? (And therefore not bundler independent?)
Thanks, have a good day.
The text was updated successfully, but these errors were encountered: