The performance tracks of react are OP
The performance tracks of react are OP
The state of JS is out, the winner is Vite, it revolutionized js development since 2020
Trends of past years confirmed, React ecosystem usage up but sentiment down
Svelte, Vue, Solid always high sentiment
AI code generation up 9%, reality and public narrative are different
x.com/voidzerodev/...
Hey the appreciation metric seems upside down or maybe the naming is deceiving
Least appreciated framework Svelte, most appreciated framework Preact?
It took a while, but the State of JS 2025 survey results are now live! 2025.stateofjs.com/en-US
Thanks to @danielroe.dev for contributing the conclusion.
This was funny 🤣
Tha advantage is named exports and that you can avoid polluting the autocompletion with components that are meant to be used only internal by a bigger component eg MyTodoList is the only user of MyTodoListItem
@paolo.ricciuti.me what if svelte had a `export component {NameOfComp} { ... }` syntax akin to rippleTs?
The content of script module could go in the module root, inside the component you still define the script tag and the template just like today
@jensimmons.bsky.social Is this still true?
Safari not skipping rendering for hidden disclosure content
TS becoming an official "first class target" nice!
They should also rename remix 3 to remix TS honestly 😅
A common UI challenge is to show tooltips only if text is overflowing (when using ellipses)
Where is runed 😱
But none of these people (the trusted ones like Jared Summer, Ryan Florence, Theo, etc.) uses VSCode Copilot.
Somehow copilot performs very bad at gathering and managing context I guess.
Most of the people use Cursor or Claude Code.
i want to try so bad!
btw is this a doc error?
shoudn't this be post.current instead of post.content?
Yeah I have the same in cursor, to workaround when I already know it might fail I ask it to re-read the files because I did some changes.
They are like bun I suppose, they do not make money, we'll see what they both do to monetize in some years. They need a huge user base now.
Nice discovery, I feel I can trust them because they openly says humans are involved.
There's now way in the current state you can give tests to AI alone.
And they probably hire in India/Pakistan so they act as an HR company for you lol
The only thing that is stopping me from writing svelte is that blocknote and assistant-ui are only for react.
The idea of porting them is always there but I must focus on 1 thing at a time lol.
Many AI products will be replaced by Open Source counterparts, or by companies that will wrap a marketing campaign around Open Source stuff that powers their products.
I think people should not worry about AI taking their jobs, but OSS. Take assistant UI, ai SDK, convex, shadcn/mui, blocknote/tiptap.
That are the tools that make you a 10x developer when using them at their full potential, AI is what can help glue all of it together.
Yeah 100% whoever is spreading the idea that you can replace thinking with AI is because is selling his "AI" product.
To me AI always was about setting up patterns to speed up repetitive parts of dev, and brainstorming, even If AI responds with wrong stuff it helps you to have better intuitions.
Wow if you can find some unit tests on GitHub of other lower quality libraries you can copy ask Claude to adapt them to your code.
Ai is great at: do the same thing of this but with this style/format/differences
I'm disappointed that they are useless lol!
I've been working on highly functional teams that had no rituals and processes and in very inefficient ones that have lot of PR reviews, processes a s coding philosophy.
I learned that the only thing that matters is ship code with people that have fun.
Yes it looks amazing!
The only thing I hate of boundaries/suspense in react is that you have to wrap your component in them, so the fallback UI has to be in parent rather than in the component itself.
It would be cool to have a way to show fallback UIs by defining them in the component itself.
The promise is ignored in useEffect as well no? The real diff is useEffect triggers when state changes while event handlers trigger when the user interact with the ui
To me it looks like event handler + set state + state, not useEffect
I did for a custom tab indicator with it! Preventing the page to become not interactive required some dark magic though
Unsurprisingly turns out the most performant and light "library" to format dates is not date-fns but is formatToParts (or just format) in Intl.DateTimeFormat.
However date-fns definitely has its place advanced scenarios.
A thing I always loved of svelte that doesn't get enough credit is how easier is to debug svelte vs react when you clash with the framework, the distance between your code and the hooks/effects is much shorter in sv while in react all is buried under a mountain of calls to the internal scheduler.
It makes perfect sense, JS was not created to be used In such a declarative way but a language for UIs in the modern days needs this paradigm.