Jason Miller ๐ŸฆŠโš›

43.7K posts

Jason Miller ๐ŸฆŠโš› banner
Jason Miller ๐ŸฆŠโš›

Jason Miller ๐ŸฆŠโš›

@_developit

Platform DX @Shopify. Created @preactjs. Do more with less. https://t.co/z1d6J24DlE @[email protected]

Hamilton, Ontario, Canada ๊ฐ€์ž…์ผ Eylรผl 2008
2.3K ํŒ”๋กœ์ž‰63.5K ํŒ”๋กœ์›Œ
๊ณ ์ •๋œ ํŠธ์œ—
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
Introducing Preact Signals: a reactive state primitive that is fast by default. โœ… feels like using plain values ๐Ÿฅณ automatic updates when values change โฑ updates DOM directly (fast!) ๐Ÿฅน no dependencies arrays preactjs.com/blog/introduciโ€ฆ
Jason Miller ๐ŸฆŠโš› tweet media
English
122
405
2.5K
0
Jason Miller ๐ŸฆŠโš› ๋ฆฌํŠธ์œ—ํ•จ
jovi ๐Ÿจ
jovi ๐Ÿจ@JoviDeCยท
What if a signal on the server could just be a signal on the client? Wrote about @_developit's mixed-signals - it reflects server-side Preact Signals to clients over any transport. Write your state once as a model, decide where it runs. No fetch glue. No cache invalidation. Just signals. jovidecroock.com/blog/mixed-sigโ€ฆ
English
1
7
24
3.5K
Wes Bos
Wes Bos@wesbosยท
@_developit I feel like every site I visit has accidental horizontal scroll
English
6
0
54
4.5K
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
Has anyone else noticed mobile frontends (native and web) are getting increasingly terrible (as we descend into UX vibe coding?)? I keep noticing I've developed ridiculous coping strategies like constantly copying input to clipboard in case it gets lost when sending.
English
18
0
95
8.4K
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
@jbscript or the copyright that tells you what year the LLM training data was collected rather than the date the page was last updated
English
0
0
1
131
Jonny Buchanan
Jonny Buchanan@jbscriptยท
@_developit New hobby: pressing End to jump directly to the end of landing pages which look like one of the 5 designs every LLM will spit out, and watching the obligatory scroll fade fall apart as I scroll up
English
1
0
1
214
Quentin Merabet
Quentin Merabet@QuentinMerabetยท
@_developit 100%. It feels like nothing is even tested anymore. wtf?
English
1
0
2
162
Zack
Zack@cultheroroยท
@wesbos @_developit the home depot app is so fucking slow it's unusable. I literally wanted to buy something from them. My ADHD wouldn't let me wait. Now my cat 5 cable comes from amazon. This is on them.
English
2
0
1
146
Ross Morsali
Ross Morsali@rossmorsaliยท
@_developit I've resorted to similar techniques for very popular web frontends too, directly from the makers of LLMs
English
1
0
2
138
Farhan Thawar
Farhan Thawar@fnthawarยท
Nailed it
English
1
1
32
2.4K
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
@georgeranch both. I routinely set up and steer serious/large PR work on my phone while I wander around the house trying to feel unchained from the desk
English
0
0
0
85
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
I've been coding on my phone since 2010, what are people so confused about
English
4
0
20
4.9K
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
@NFS__21 lol good god no. I built a nice web app at work for agentic development. For personal stuff I suffer through Codex Web and Claude Code Web (bleeeeeeeeeh). Back in the day though: phone with a keyboard and a shitty text editor.
English
0
0
0
130
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
@aidenybai add Preact! same JSX element annotation as React but the tree is live and hangs off `__k` on the render root element.
English
1
0
2
345
Aiden Bai
Aiden Bai@aidenybaiยท
Introducing element-source Get the source file location of any DOM (or native!) element Works w/ React, Vue, Svelte, and Solid
English
59
60
1.4K
205.9K
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
the fact that you can't even check similarity without fully publishing is absurd.
English
1
0
17
2.6K
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
npm's package name similarity validation for new packages is fucking ridiculous and should be killed
English
4
1
69
13K
Jason Miller ๐ŸฆŠโš›
Jason Miller ๐ŸฆŠโš›@_developitยท
@RyanCarniato @darylbarnes @trusktr fwiw when I use htm I tend to inject my components into createElement (preact vnode hook but you could also just bind htm to an intermediary function that remaps) so that I can do: html`<my-comp num=${myNum} />`
English
1
0
4
287
Ryan Carniato
Ryan Carniato@RyanCarniatoยท
@darylbarnes @trusktr @_developit JSX isn't html it's XML. Representing a component as markup is very convenient. There are a lot of structural similarities so I think it is the right choice for templating. Everyone does that in their frameworks.
English
1
0
2
286
Ryan Carniato
Ryan Carniato@RyanCarniatoยท
I've been looking at `html` tagged template literals again and man the state of things sucks. I'd be so happy if @_developit's "htm" was the accepted format and we could just get typing going, but as usual there are competing standards and in a lot of ways it makes sense. 1. We have WC folks who have a strong voice in standards that don't care about anything beyond WCs (why should they) but unfortunately WCs are severely limited in a universal sense, so can never be the actual complete answer. 2. We have TS that doesn't want to go through implementing a specific thing like JSX again so unless standards forces their hands they probably aren't going to move. 3. The options for representing tags are either untypable slots, inline case sensitive (goes against standard case insensitivity), or bulky beyond reasonable usage(call create element yourself). I would appeal to WC folks to support some exotic syntax. But honestly if I were them I wouldn't want to. But then again they have no issue proposing their own exotic syntax (like `.`, `@`, and `?`) which IMHO should only be included if HTML supports them. So I get this does devolve into people trying to standardize their own framework. But the TS need is real. A real conundrum.
English
11
1
86
22.2K
Jason Miller ๐ŸฆŠโš› ๋ฆฌํŠธ์œ—ํ•จ
vedanta
vedanta@thvdntaยท
We shipped @tan_stack Preact-Query ๐Ÿ”ฅ Welcome to Query @preactjs :) Thanks for the help @TkDodo @_rschristian
vedanta tweet media
English
7
10
129
14.9K