New blog post: Improving Redux state transfer performance with JSON.parse(), a quick case study.
https://joreteg.com/blog/improving-redux-state-transfer-performance …
(Big thanks to @mathias and @addyosmani for their input)
-
-
Agh, good point! I was looking at the stable release 75. I can get those links, but I guess it was me testing in a wrong version.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Alright, I just did a simple codesandbox to highlight the implementation: with parse https://804vh.sse.codesandbox.io/json.parse , with stringify https://804vh.sse.codesandbox.io/ . The data is dummy data generated. I still can't get an improved TTI with the JSON.parse method. Am I doing something wrong?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.
Awesome stuff! Today, I tried to implement the #2 for our ssr-ed apps, with .textContent and the TTI was almost the same. Gonna give it another try with #3
kinda interesting approach