react

"mulling over state management stuff"
martinklepsch 2021-02-26T11:20:28.055700Z

Thanks for sharing all this info you two! I didn’t realize there’s all this UserTiming stuff that’s part of devtools. Also this post on the calibre blog is pretty good: https://calibreapp.com/blog/react-performance-profiling-optimization

2021-02-26T12:02:14.055900Z

Note that in React v17 they removed User Timings API from React internals, which is unfortunate because it allowed having all debug info in one place (react calls next to generic JS flamegraph)

martinklepsch 2021-02-26T12:18:47.056100Z

Ah interesting, so basically it’s advised to use React Profiler now https://reactjs.org/blog/2018/09/10/introducing-the-react-profiler.html

lilactown 2021-02-26T17:19:20.056400Z

yeah I've been looking at the React profiler API. Unfortunately, it requires delivering a slightly different (less performant) bundle

lilactown 2021-02-26T17:19:30.056600Z

I haven't investigated how much less performant