5 ms·
Anybody knows whether generator functions were considered and if they were, reasons why they were not used for this?
by aocenas 7y ago
Anybody knows whether generator functions were considered and if they were, reasons why they were not used for this?
- bnjmn 7y agoYes! I was also curious about this, because I'm sure you could make generators/yield work for asynchronous interruptible rendering, but here's what the React team has to say: https://github.com/facebook/react/issues/7942#issuecomment-254987818 https://github.com/facebook/react/issues/7942#issuecomment-2...