infernojs / inferno

:fire: An extremely fast, React-like JavaScript library for building modern user interfaces
https://infernojs.org
MIT License
16.1k stars 634 forks source link

Implement support for Inferno.lazy (React.lazy) #1444

Open Havunen opened 5 years ago

Havunen commented 5 years ago

Add support for React.lazy https://reactjs.org/blog/2018/10/23/react-v-16-6.html#reactlazy-code-splitting-with-suspense

ChrisKuBa commented 5 years ago

Is it necessary to integrate the functionality (also #1443) in inferno like react did, or can we write a HoC which change the state to initialize rendering after resolving the dynamic import?

tamb commented 5 years ago

I think inferno should have a new release under @inferno and features like this can be released under smaller packages in that npm scope. @inferno/suspense etc

farooqkz commented 1 year ago

What is status of this?