3 ms·
Your next logical step probably won't happen for React (outside of server rendering). React is just JavaScript, so you can't capture and serialize event handler
by underwater 8y ago
Your next logical step probably won't happen for React (outside of server rendering). React is just JavaScript, so you can't capture and serialize event handlers, etc. Though Prepack (by Sebastian on the core React team) is an attempt at doing something similar.
A more likely path is that React enables aggressive and progressive loading of component code, so the initial bundle is smaller.
- acemarke 8y agoThey've already taken a big step towards that in 16.6, by adding `React.lazy()`: https://reactjs.org/blog/2018/10/23/react-v-16-6.html https://reactjs.org/blog/2018/10/23/react-v-16-6.html