3 ms·
Things would also be significantly sped up if you compiled in production mode. From looking at your source, all the dev mode checks are still being performed. S
by jkkramer 11y ago
Things would also be significantly sped up if you compiled in production mode. From looking at your source, all the dev mode checks are still being performed. See:
https://facebook.github.io/react/downloads.html https://facebook.github.io/react/downloads.html (the note under npm section)
https://github.com/facebook/react/issues/1772 https://github.com/facebook/react/issues/1772
http://stackoverflow.com/questions/22118915/how-to-turn-on-off-reactjs-development-mode http://stackoverflow.com/questions/22118915/how-to-turn-on-o...
- GiovanniFrigo 11y agoThanks! Useful links, I didn't know anything about this. Will surely start using the `NODE_ENV=production` environment variable from now on!
- GiovanniFrigo 11y agoThat reduced the click delay from approx 90ms to 67ms, that's a pretty solid -25% there! Thanks for the suggestion, @jkkramer!