Preact 8.3.0 is out!
πΈ getDerivedStateFromProps()
πΈ getSnapshotBeforeUpdate()
πΊπ½ .mjs bundle by default
π Fix for setState() mutation
β¨οΈ A bunch of TypeScript improvements
π Someone actually found dead code
github.com/developit/preact/β¦
So @feross's bitmidi.com is basically a masterclass on building an ideal universal preact app. Everything is built up from first principles. You can easily see how async SSR interacts with the store, and how it improves client bootup/load time.
github.com/feross/bitmidi.coβ¦
I've been using preact-18n on a project. Works great, weighs 1.5k.
bundlephobia.com/result?p=prβ¦
Workflow:
- babel plugin finds translation strings
- generates/updates translation definitions
- gcloud translation API fills in any missing translations
- build static app for each locale
#ReactHotLoader v4.3.0 codename... Preact-Cold-[not]Loader.
- βοΈ Now it supports @preactjs
- βοΈ And implements "cold" API to partially disable π₯
- π¦ You can βοΈ all node_modules
- π Some nasty bugs were fixed
More on @withspectrum β spectrum.chat/thread/25a05f9β¦
omg @messedcode_dave made a game out of Github stars π
1. fun, but also maybe a commentary on our community? ;)
2. another PWA game (PWG?) built with @preactjs π
πΎ githubguesser.messedcode.com
π£ Introducing.. prerender-loader!
π° Painless universal pre-rendering for Webpack.
βΉοΈββοΈ Improve first paint, often without a code change!
β¨ github.com/GoogleChromeLabs/β¦
ALT shows the before & after of applying prerender-loader to some HTML. After application, the HTML includes prerendered DOM structures.
Hello friends!
Lovely day for a bit of golf, don't you think? ποΈββοΈ
Help us find a way to reduce the size of this code:
github.com/developit/preact/β¦
So I forgot to look at preact-render-spy for a few months, and had a bunch of PRs to land! Release v1.3.0 out the door! github.com/mzgoddard/preact-β¦
Maybe I shoulda called this release "lazy maintainer"
Heads up to @preactjs and your users - do people still use this thing? :)
Introducing... CSS Paint Polyfill! π§ββοΈ
Use Paint Worklets in most browsers π
+ excellent performance in a bunch of browsers.
github.com/GoogleChromeLabs/β¦