Ok, "React is too big/slow/etc" people. Can you please profile this and tell me what the weak links are? Seriously. https://mylibrary.io/view?userId=573d1b97120426ef0078aa92&tags=578c336769991ef9000feaff …
-
-
Replying to @AdamRackis
It's my own little side project which gets almost no time, and every line is written by me, so TONS of rough edges (especially around UX)
1 reply 0 retweets 1 like -
Replying to @AdamRackis
All JS resources are service-worker cached, and prior app state is saved and restored from localStorage, so zero network requests on return.
1 reply 0 retweets 0 likes -
Replying to @AdamRackis
Actual requests for data aren't yet stored, so that's a wip. Regardless, someone please tell me how React is a problem here.
1 reply 0 retweets 0 likes -
Replying to @AdamRackis
The scope is laughably small compared to any real app I could imagine writing, but still a hell of a lot bigger than "todo" ¯\_(ツ)_/¯
1 reply 0 retweets 0 likes -
Replying to @AdamRackis
cc
@slightlylate &@threepointone, if you have any perspective from your side of the world :)1 reply 0 retweets 0 likes -
Replying to @AdamRackis @threepointone
My first port of call is always to put it under a microscope; WPT run still in progress: https://www.webpagetest.org/result/170829_WM_6b4d1d5290dd2a9e4c72f27c2b6bfa5c/ …
1 reply 0 retweets 1 like -
Alrighty, results rolling in: https://www.webpagetest.org/result/170829_WM_6b4d1d5290dd2a9e4c72f27c2b6bfa5c/ … Looks interactive at ~5s! https://www.webpagetest.org/video/compare.php?tests=170829_WM_6b4d1d5290dd2a9e4c72f27c2b6bfa5c-r:2-c:0 …
2 replies 0 retweets 0 likes -
Replying to @slightlylate @threepointone
I trust (hope) the 5s is good? ie, measured on crazy slow network / hardware?
1 reply 0 retweets 0 likes
5s TTI on first load for that network/HW is the target. Nice work!
-
-
Replying to @slightlylate @threepointone
Ya I didn't do much, trust me :) Idiomatic, basic React & Redux usage. Props to the folks who made those tools -
@sebmarkbage@dan_abramov0 replies 0 retweets 1 likeThanks. 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.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.