I don't usually do this, but it's about public health and this site is getting a lot of press and HOLY !*#$ WHAT IS WRONG WITH THE REACT COMMUNITY!?: https://www.webpagetest.org/result/200419_RQ_7d92404e9fc558919d13effd65fde874/ …
-
Show this thread
-
Alex Russell Retweeted Tom Loosemore
This feels like the right place to invoke
@tomskitomski: https://twitter.com/tomskitomski/status/1241009376653012993 … If I had to guess, this probably wasn't ever tested on anything w/o a "Designed in Cupertino" badge.Alex Russell added,
Tom Loosemore @tomskitomskiAdvice to teams building new coronavirus services: 1) Get a 4 year-old Android phone, and use it as your test/demo device. 2) https://design-system.service.gov.uk/ is your friend. 3) Full React isn't your friend if it makes your service slow & inaccessible Remember: This is for everyone.4 replies 6 retweets 67 likesShow this thread -
It's *more than 900K of JS* to see the headline data. A screen shot is significantly smaller. Nothing about this is OK.
2 replies 8 retweets 82 likesShow this thread -
Once -- just once -- I'd like to see prominent React peeps pitching in to fix these sorts of disasters instead of just excusing them.
9 replies 6 retweets 55 likesShow this thread -
Replying to @slightlylate
I seem to remember the Gatsby community building a no-JS plugin. Does that count?
1 reply 0 retweets 0 likes -
-
Replying to @slightlylate
My ideal is to have a NextJS config that lets me ship full React to desktop, and a simple site to mobile with a tiny amount of JS (<50kb all in) with one app. Let’s me reuse server side logic but have a tiny mobile site that just toggles stuff with JS
3 replies 0 retweets 3 likes -
Replying to @chofter @slightlylate
Have you considered AMP for that simple mobile site version? React Storefront framework is based on based on NextJS and outputs a PWA and AMP version for each page. It could be tweaked to do what you describe.
1 reply 0 retweets 0 likes -
Replying to @ianand @slightlylate
Interesting. I still need a little JS on the page as it’s not a simple consumption site. I don’t think AMP can do this (populate a <select> options based on a user selection for example) but happy to be wrong about that
2 replies 0 retweets 0 likes
The cool thing about sequestering your React stuff to the server ("RedactJS") is that you can then selectively add back smaller web components emitted by the SSR.
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.