Figured I'd open source the little preact+signals mastodon client I wrote a few years ago, in case the code is useful to folks.
It's called Mastodawn - a streaming, offline-first installable Mastodon web app that weighs under 100kb.
Platform DX at Shopify. Created #Preact. Do more with less.
#JavaScript #PreactJS #React #Frontend #DeveloperExperience #OSS #Coffee #Foxes #Drumming #Metalhead
| Blog | https://jasonformat.com |
| Github | https://github.com/developit |
| https://twitter.com/_developit | |
| Preact | @preact |
Figured I'd open source the little preact+signals mastodon client I wrote a few years ago, in case the code is useful to folks.
It's called Mastodawn - a streaming, offline-first installable Mastodon web app that weighs under 100kb.
This is how I build apps now:
Standalone model(s) built with #Preact #Signals so they're implicitly reactive.
Components simply reference the model instance from context and access its (reactive) properties.
Testing the model without components is fast and easy. Testing the components a with mocked model is fast and easy.