3 ms·
Basically if you save the code behind the component (even if your text editor), the components will reflect the new code without a page refresh. It's for develo
by dmazin 12y ago
Basically if you save the code behind the component (even if your text editor), the components will reflect the new code without a page refresh. It's for development, it seems.
- danabramov 12y agoThis is correct. Not just without refresh, but without throwing away the DOM—we'll just re-run React's algorithm. This gives huge productivity boost when developing complex nested UIs because you can quickly tweak CSS/JSX without blowing away all the state (like modal windows, tabs, loaded data, etc).