Twitter | Search | |
Jason Miller πŸ¦Šβš›
Web DevRel at & creator of . Do more with less. Good at replacing emojis with images of emojis.
30,186
Tweets
2,202
Following
30,121
Followers
Tweets
Jason Miller πŸ¦Šβš› 8h
Lol
Reply Retweet Like
Jason Miller πŸ¦Šβš› 8h
Replying to @mhartington @hdjirdeh
I regret nothing
Reply Retweet Like
Jason Miller πŸ¦Šβš› retweeted
Houssein Djirdeh 9h
Here's an experimental demo built by to demonstrate progressive hydration with React No loading indicator, no white-flash and no re-rendering. The component is hydrated in place on the server-rendered DOM with diffing being bypassed entirely
Reply Retweet Like
Jason Miller πŸ¦Šβš› 8h
Lol editorconfig to the rescue
Reply Retweet Like
Jason Miller πŸ¦Šβš› 9h
it doesn't. there was some community support around a "jsnext:main" field a few years back, but it's mostly gone now.
Reply Retweet Like
Jason Miller πŸ¦Šβš› 9h
Replying to @RobWett @markhker and 2 others
/** * {undefined} [NEVER_PASS_THIS_VALUE] */
Reply Retweet Like
Jason Miller πŸ¦Šβš› 9h
Replying to @garybernhardt
we'll get there. might be worth a patch release for 8.4 though, lots of folks are still using that version.
Reply Retweet Like
Jason Miller πŸ¦Šβš› 10h
Replying to @garybernhardt
i spotted preact in there
Reply Retweet Like
Jason Miller πŸ¦Šβš› 11h
Still good to offload it to a worker. It's less about code size and more about parallelism + keeping the main thread humming. If you have a module that exports an async function for doing the TS transpile, you can just slap workerize on it and be done :)
Reply Retweet Like
Jason Miller πŸ¦Šβš› 11h
Seeing issues with Preact + Material UI?
Reply Retweet Like
Jason Miller πŸ¦Šβš› 11h
Damn this also reminds me I need an OP-1
Reply Retweet Like
Jason Miller πŸ¦Šβš› retweeted
Addy Osmani May 22
Third-party JavaScript weighing you down? Defer it until you can trim it. The Telegraph deferred *all* third-party scripts. 3s faster visual completeness & better Lighthouse perf scores. Case study: by Talk:
Reply Retweet Like
Jason Miller πŸ¦Šβš› retweeted
jessie frazelle πŸ‘©πŸΌβ€πŸš€ 20h
One thing that seems to have gotten hidden from the GitHub announcements is actually THE MOST VALUABLE feature for open source maintainers: The ability to have private discussions and code review about security vulnerabilities WITHIN your repo.
Reply Retweet Like
Jason Miller πŸ¦Šβš› 12h
Replying to @ScribblingOn
#2 and #3 = Oslo
Reply Retweet Like
Jason Miller πŸ¦Šβš› 12h
Yeah, definitely move TS into a worker. If using Webpack this is cake via workerize-loader, comlink-loader or worker-plugin.
Reply Retweet Like
Jason Miller πŸ¦Šβš› 13h
βš›οΈ Preact has moved to a new home on Github! The new preactjs organization is also home to related core libraries and tools.
Reply Retweet Like
Jason Miller πŸ¦Šβš› 18h
Replying to @bloodearnest @peterbe
something like that :P
Reply Retweet Like
Jason Miller πŸ¦Šβš› 18h
not the worst, but my selfish wish is that installing a library doesn't require installing many libraries :P
Reply Retweet Like
Jason Miller πŸ¦Šβš› 18h
Replying to @bloodearnest @peterbe
yup. also means there's no separate package to install.
Reply Retweet Like
Jason Miller πŸ¦Šβš› 18h
two libs are listed for this at the bottom of the readme
Reply Retweet Like