react-imported-component icon indicating copy to clipboard operation
react-imported-component copied to clipboard

✂️📦Bundler-independent solution for SSR-friendly code-splitting

Results 48 react-imported-component issues
Sort by recently updated
recently updated
newest added

Would it not be possible to automatically update the `imported-components.js` file that contains all the imports during Babel traversal? In any case, I had some trouble, it prefixed all node...

I'm wondering if there is a way to use Suspense and lazy on the browser side in some way together with react-imported-component. Are all the functionalities overlapping, or is RIC...

Hi, Is there a possibility to use this library with other bundlers or other loaders to speed up the process of building and rebuilding applications? In my understanding, this library...

@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...

Hi, I would like to know if selective hydration can be achieved with this library. As far I understand rehydrateMarks forces the app to wait until all js are downloaded...

@theKashey Using `useImported` hook inside any component is causing the component to infinite rerender. You can follow the example given in README file to reproduce.

Based on bundler (Vite for example), module might be undefined, I've added a guard to fix this problem. Error example: ``` Uncaught ReferenceError: module is not defined ```