Posts by developit@mastodon.social
 (DIR) Post #AR7ffFmlHsKvrqgQXA by developit@mastodon.social
       2022-12-29T18:04:28Z
       
       0 likes, 0 repeats
       
       I am probably going to buy the new espresso machine today. Likely the Profitec Pro 500 or Lelit Mara X.
       
 (DIR) Post #AR7ffH98EBpC5W9o2a by developit@mastodon.social
       2022-12-30T04:56:21Z
       
       0 likes, 0 repeats
       
       I went with the Pro 500. Had to migrate my coffee setup to the other side of the kitchen because the countertop on that side is actually flat.
       
 (DIR) Post #ASY47EjXoTDhVhdAfI by developit@mastodon.social
       2023-02-10T18:48:03Z
       
       0 likes, 1 repeats
       
       I'm not sure who needs to hear this, but here goes:Whether to build something as "an SPA" or "an MPA" has absolutely nothing to do with opinion or preference.  It's a technical decision and should be based on concrete technical criteria.It's also a false dichotomy. There is a spectrum of approaches you must evaluate between when building for the web. Pretending there are only two is an oversimplification that produces poor outcomes regardless of which you choose.
       
 (DIR) Post #ASY47GcWnWnPMWMb0S by developit@mastodon.social
       2023-02-10T18:51:20Z
       
       0 likes, 0 repeats
       
       As an example:  is any site that uses pushState to avoid full page loads a Single-Page App? Not necessarily!A site can be built with standard links and forms, but then layer in pushState as an optimization (turbolinks and others do this).
       
 (DIR) Post #ASY47I8TAFwM3sJcQq by developit@mastodon.social
       2023-02-10T18:53:55Z
       
       0 likes, 0 repeats
       
       Conversely, is a site that does full page loads a Multi-Page Application?  Not necessarily!You can build a thick-client application that happens to reload the page when moving between sections/screens. That doesn't make the application "server-driven" any more than a fully client-side application. There are fully client-side apps that do "page loads" just to isolate/bound memory leaks.
       
 (DIR) Post #ASZpRi6zJj6BY4iCh6 by developit@mastodon.social
       2023-02-11T17:31:56Z
       
       0 likes, 0 repeats
       
       @seldo I like the economic explanation of this, as it does start to get at the crux of the framework debate. It also is a reasonably good description of the rationale by which Preact came to exist, and for it's continued evolution & directional choices. Sometimes folks wonder why we invest in a given area/direction - this economic model is effectively the metaphor we use. Provide framework features that maximize developer efficacy, but only when these have minimal performance impact.
       
 (DIR) Post #ASaTIPKxkPw2seMq6i by developit@mastodon.social
       2023-02-12T00:58:28Z
       
       0 likes, 0 repeats
       
       @seldo @slightlyoff FWIW this was part of your article I did not agree with. Framework authors are, more than anyone else, aware of how their decisions impact performance. They have the data (via issues) and understand the causal pathway because they created or maintain it.Where your hawk/dove analogy breaks down is that it assumes devs (but framework authors in particular) are inherently hawks. They are not, they are only _incentivized_ to be hawks.
       
 (DIR) Post #ASgTQGKAJ5cuC0V1IO by developit@mastodon.social
       2023-02-14T21:37:01Z
       
       0 likes, 1 repeats
       
       With the new Navigation API, you can now show the native spinner + stop button for any asynchronous operation - all you need is a Promise.
       
 (DIR) Post #ASk5tr8Ytc4qUoUS0W by developit@mastodon.social
       2023-02-16T16:13:54Z
       
       1 likes, 0 repeats
       
       #JavaScript developers be like
       
 (DIR) Post #ASoVP4DLbGtXW9Y0W0 by developit@mastodon.social
       2023-02-18T19:22:11Z
       
       0 likes, 0 repeats
       
       @simon soooo... who is going to build a wrapper around this that implements a Node/Deno-like stdlib so we can have ~0kb JS CLI's on MacOS?
       
 (DIR) Post #ASogANOt5EEqAs8v0y by developit@mastodon.social
       2023-02-18T21:27:50Z
       
       0 likes, 0 repeats
       
       @simon I smell a weekend project brewing
       
 (DIR) Post #ASsNu2xiHdozbtKsmO by developit@mastodon.social
       2023-02-20T16:21:09Z
       
       0 likes, 0 repeats
       
       @simon I genuinely liked that show. Usually can't stomach faux-tech dramas, but it was actually kind of believable.
       
 (DIR) Post #AT1mgN0RD612zvpCIS by developit@mastodon.social
       2023-02-25T05:11:10Z
       
       1 likes, 0 repeats
       
       I forgot how weird and shouty Twitter is now that I'm rarely on it.
       
 (DIR) Post #ATDnBN2Vywvn4Y9dom by developit@mastodon.social
       2023-03-02T23:20:57Z
       
       0 likes, 0 repeats
       
       @mcc @seldo fact check check
       
 (DIR) Post #ATXyuzje6iIDu3gX1U by developit@mastodon.social
       2023-03-12T18:00:03Z
       
       1 likes, 1 repeats
       
       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.
       
 (DIR) Post #ATcsNyR1CCuMUxgPAG by developit@mastodon.social
       2023-03-15T02:42:03Z
       
       0 likes, 0 repeats
       
       @vanilla this made me cackle
       
 (DIR) Post #ATmV1slVEvffB8MQQS by developit@mastodon.social
       2023-03-18T22:46:25Z
       
       0 likes, 0 repeats
       
       This is your yearly reminder that client side web apps are fucking awesome.  A lot of things don't need to be apps, but a lot of things do. Don't pick an architecture based on recommendations in docs/tweets/meetings. Pick an architecture the same way you make any other engineering decision: test and validate plausible options.
       
 (DIR) Post #ATmVmtWOFIcl8Oi14a by developit@mastodon.social
       2023-03-19T18:16:00Z
       
       0 likes, 0 repeats
       
       @bananarama this is how squoosh works! Not a single file though, because it uses things that are separate files like Workers and Wasm. But predownloaded and then runs offline.
       
 (DIR) Post #AWjOqeGFErjmA9cMjY by developit@mastodon.social
       2023-06-15T23:11:00Z
       
       0 likes, 0 repeats
       
       @simon I've been migrating all of mine to Cloudflare.
       
 (DIR) Post #AdTg6Gjhv6ETaltJ32 by developit@mastodon.social
       2024-01-03T18:37:50Z
       
       0 likes, 0 repeats
       
       preact + signals + HTML Drag and Drop API is pretty clean.🐕 demo: https://2gtlk9.csb.app✍️ code: https://codesandbox.io/s/preact-signals-dnd-2gtlk9?file=/src/index.tsx#webdev #preact #preactjs #signals