Mathieu Schimmerling retweetledi
Mathieu Schimmerling
398 posts

Mathieu Schimmerling
@matschik_
Senior Software Engineer JS Fullstack. https://t.co/xQZwp3VRq1 maintainer
France Katılım Aralık 2017
165 Takip Edilen96 Takipçiler
Mathieu Schimmerling retweetledi

« Maybe a tree is not the way we should organize code. »
I’ve been convinced about this for a while.
That’s why I’m building Tuan, a VSCode extension that offers a new way to explore code beyond the file tree. (the video is a mvp)
(waitlist just opened, link below)
Seb ⚛️ ThisWeekInReact.com@sebastienlorber
Starting from first principles, that debate only exists because we organize code as a file system tree. Maybe a tree is not the way we should store and organize code 🤷♂️
English

@letstri @conar_app For French people, it will be difficult to talk about this tool to their team 😅
English


@puruvjdev @thomasglopes The chicken or the egg paradox 🤣
English

@thomasglopes @matschik_ Brooooo I published it after checking runed doesn’t have Interval, otherwise I wouldn’t. And then this person posts this comment and I get confused thinking I must have overlooked this in the docs yesterday 🤣🤣🤣🤣🤣
English

@matschik_ @puruvjdev Interval was not a thing in Runed when Puru posted!
English

@matschik_ You're welcome to use Runed's implementation over this
English

@mfpears @puruvjdev Why RxJS is not that popular then ?
Maybe the pipe thing
English

@puruvjdev RxJS:
const speed$ = new Subject(1000)
const interval$ = speed$.pipe(
switchMap(speed => interval(speed)),
)
RxJS is more flexible, and it's standard, so you only have to learn it once.
English

The more Svelte code I write the more I like it
I've written a ton of React as well and on paper it seems better:
- multiple components per file
- no new "magic", just normal js (.map instead of #each)
- stronger composability
And yet the more I write both the more I find Svelte to be way more natural for two reasons:
1. Svelte is an extension of html & React is well React
2. The runes primitives feel REALLY good, especially when used with .svelte.ts files. Making a class with $state variables and the logic to work with them all in one place is so damn good
There's just so much more friction in React to make what I want even if on paper it is better, I find Svelte just so much more pleasant and productive to write.
In the past I was really critical of the "single component per file" thing in Svelte, but the more Svelte 5 I write, the more I don't actually want more components in one file. The pieces that I would want to abstract out are almost always logic pieces, which I can now easily do in a .svelte.ts file with a clean little class, it just feels so damn good. I can't imagine a way you make multiple components in one Svelte file without making me like it less. I don't want to have to define a function, I want to write html and add some reactivity, and Svelte is the most natural way to do it.
English

@davis7 For people who want to quickly see the syntax differences: component-party.dev/compare/react-…
English

@aaditsh The final app is really not impressive at all. There is 0 complexity, it’s just a static HTML CSS page.
Next
English

This guy literally shows how to design and build apps in just 30 minutes
twitter.com/skirano/status…
English

@puruvjdev Read OpenAI docs on structured output instead of doing that
English

@kevinrwhitley @sveltejs One of us ! Welcome to productivity crew !
English

I built this in @sveltejs.
I used React for around 8 years (and was quite good at it), before trying Svelte for the first time.
It took me all of about 1 hour to become faster at Svelte than I was with React, even with constantly looking crap up in the docs.
Try it!

English

@BHolmesDev Svelte 5 syntax compared to React syntax: component-party.dev
Dansk











