💼 Schneider Electric. ai slop solver, performance freak. @sveltejs team. 12 years experience. Conference Speaker ex-@stackblitz, @beyonk.

India
Made my first LLM-generative-cum-simulation-of-life game with @threejs and @threlte. Game engine written purely in rust and WASM. No API keys. maya.puruvj.dev Type in the box "make 100 humans", "make city" "dig lake" "30 dinosaurs" and itll make em, all with an in-browser tuned Qwen 1.5B model. And the game is alive! The rust-based wasm "WorldGen" engine has emergence math, allowing realistic behavior of ecosystems, food chain, settlement building, evolution, genomes and so much more! try it out -> maya.puruvj.dev
1
1
13
1,485
This is so freaking cool!
71
113
8,555
3,420,680
I'll take it, Copilot 🍻
35
354
3,860
238,708
Replying to @girldrawsghosts

ALT Man Of Steel GIF

27
42
3,230
408,813
Today I found out how to use Zod correctly 🤯 Now I get the hype. I really do now 🔥
54
200
2,371
595,624
Hire him @Meta
New: React Scan shows what props caused a component to render!
10
15
881
54,686
It's job hunt time. I'm looking for full-time engineering remote roles. Actions speak louder than words, so I will avoid the sales pitch and show you all the work I've done in last 3 years as a professional developer 🧵 1/n
38
117
758
301,060
0-dependency 0-runtime 100-awesomeness redis alternative
27
31
723
76,808
macOS Web is now powered by @sveltejs Yup! macos.now.sh now uses Svelte entirely, with @vite_js for the bundling and Dev Server 😌!! Previous version JS + CSS Bundle: 66KB Now: 32.3 KB 🪄🪄 (Plus many more animations 😈) Details in thread 🧵 (cc @SvelteSociety)
30
108
714
HOLY MOLY 🤯🤯🤯 Stage 2 already!
42
41
691
260,363
Releasing ✨neoqs✨, a drop-in replacement for the bloated `qs` package 🤌 3.9KB min+brotli (3x smaller than `qs`) 🚥 Zero dependencies 🎹 TypeScript. Throw away @types/qs ❎ No polyfills 🛸 ESM-first 📜 Legacy mode: ES5, CommonJS and Node 10+ 🌐 Just works™ in all browsers
17
40
682
78,559
Releasing ✨neotraverse✨a zero-dependency alternative to `traverse` 🤌 1.6KB min+brotli 🚥 Zero dependencies 🎹 TypeScript support (Goodbye @types/traverse) 🛸 ESM-first 🐑 Legacy mode: ES5 and CommonJS 🌐 Native browser support. Just Works™
15
45
637
78,052
✨ Stoked to announce @neodrag/vanilla ✨ A vanilla JS draggable library! - 🤏 Tiny - Only 2.02KB min+brotli. - 🐇 Zero Config - 🧙‍♀️ Elegant - new Draggable() - 🗃️ Highly customizable - ⚛️ Reactive
11
77
609
It's happening!!! Svelte repo is finally being converted from Typescript to Javascript with Jsdoc
44
60
585
251,819
$log is coming...
22
17
532
85,531
A veryyyyy good day today!
23
6
525
46,574
Look what I just found Bye bye 0.1 + 0.2 == 0.30000000000000004
23
34
519
92,737
✨ I moved macOS Web from React to Svelte ✨ I built macOS Web initially in React, went through half a dozen major changes, and ended up with it being in @sveltejs Here's a complete breakdown 👇 (cc @SvelteSociety )
9
81
495
Trying out the Vercel™ font Jetbrains mono. Geist mono
66
26
485
181,551
✨ Releasing Neodrag v2.0 ✨ - Smaller bundle size! (Up to 15%) - 5 new features - Multiple bug fixes - Faster runtime performance And, the most important: NEW DOCS!
20
54
467
94,714
Testing controlled neodrag in svelte and react and I'm again so disappointed in React. it just stutters so terribly. React code here is using useMemo and useCallback, svelte code has absolutely no such requirements. Left: Svelte. Right: React
20
16
471
100,404
With all the drama happening around Remix and NextJS, I felt compelled to write my own thoughts ✍️🗒️ puruvj.dev/why-i-dont-use-sv…
48
37
439
99,236
WHY DID NO ONE TELL ME YOU CAN MOVE TERMINAL TO THE RIGHT IN @code 🤯🤯🤯🤯🤯 WTHHH This makes so much more sense than keeping it at the bottom
57
26
376
72,753
Neodrag v3 Alpha is out! Complete rewrite from the ground up. 🏳️‍🌈 Multi-framework adapters ⚡ Event delegation (3 listeners total vs 3 per element) 🧩 Plugin-based architecture 📦 Tree-shakable 🛡️ Error isolation Thread below 👇
9
30
395
47,589
I'm looking for opportunities! Full-time/part-time remote roles. Actions speak hella louder than words, so allow me to show you all the work I have done in the last 4 years as a professional developer 🧵1/n
16
59
362
58,566
I’m growing increasingly disillusioned with React hooks. Everything about them just seems so unnecessarily complex. It’s just so funny because for a while there I thought they were great. Stockholm syndrome.
17
22
340
46,671
Replying to @JoeAbbey
What's a fluffer?
10
2
330
126,901
Node 22 recently shipped native WebSocket support. Happy to see they're adding it back to Node 20(Current LTS) on node:http module. This is very helpful as a library author, now I can ditch isomorphic-ws in favor of native builtins on both browser and node.
6
23
333
49,276
My sneak peek of Svelte 5: First impression: Wait...Why tho? 1 week later: OK HOLY SHIT THIS FIXES EVERYTHING!!!!!!!! 🤯 Stay tuned for 20th September 😉
24
16
317
72,453
I'm being officially sponsored by @vercel 🤯🤯 Once again Vercel show why they are so freaking amazing!! @leeerob reached out to me, and set up an Open Source sponsorship plan!! The 100GB bandwidth limit is just gone now 😊 Thank you so much Lee for such an amazing experience.
Humble request to whoever is DDOSing my sites, please stop. I don't wish to move away from @vercel 🥲🥲
14
7
301
I am joining @stackblitz!! 🥳🎉 I'll be working with the amazing team there to improve Web Containers and just do a lot of cool shit 🔥
56
6
296
I am so insanely excited to see Melt UI for Svelte 5. Gonna be an absolute game-changer! Svelte v4. Svelte v5
13
26
295
21,765
DUUUUUDE THIS IS COOOOOL cicada.build/
10
27
282
39,880
Introducing @neoconfetti/vanilla! 🤏 Tiny - 1.71KB min+br. 🐇 Zero Config 🧙‍♀️ Elegant - new Confetti() ➡️ await confetti.explode() 🗃️ Customizable 🌾 Fine-grained - Change colors or shape mid-flight, no unnecessary repaints
9
37
289
29,116
How it started vs How it's going (My macbook arrived 🥳)
22
10
272
Never realised this, but the breadcrumbs in VS @code can act as the file explorer in sidebar. No need to open the sidebar everytime, easy to move through folders too Am gonna use this like crazy from now on 🔥🔥🔥
9
37
276
How does this 404 page looks. Theming included. #100daysofcode
20
33
255
Replying to @TheCinesthetic
He won an oscar for playing a extremist Nazi and he also won an oscar for playing a highly empathic man trying to liberate slavery. It doesn't get more legendary than that 🔥
1
3
274
8,546
I rewrote Reach UI's Alert component in Svelte. Here's the comparison React(Original) Svelte(Mine)
17
25
268
This is AlDente from @AppHouseKitchen btw
1
1
261
145,917
Introducing @neoconfetti/vue 🎊🎉🎉🎉🎉 - 🤏 Tiny - 1.45KB min+br. - 🐇 Zero Config - 🧙‍♀️ Elegant - Vue directive `v-confetti` - 🗃️ Customizable - 🖥️ SSR friendly - Works like a charm in @nuxt_js, @vuepressjs, Vitepress.
5
28
260
33,557
✨Let me introduce to you: Jotai 👻 Jotai is a minimalistic but extremely powerful React State management library which makes state management simple as heck! It's as simple as using a useState, but for your global state. But it goes beyond that with its utils... 🧵
7
37
254
I got my very first job. At age of 19 🥳🎉 I'll be writing @sveltejs code every day and will be paid to write it. How about that huh😼 Huge thanks to all the Svelters in the world for spreading my works around(macos.vercel.app), and to the people behind @SvelteSociety...
19
15
235
Svelte 5 is gonna have a much better syntax to break out of scoping 🥳🥳
11
10
221
25,639
I got my first payment today!!!! 🔥🔥🔥 of 200USD 🤑🤑 All the hard work of last 6 years has started to pay off 😍😍
22
5
222
Conclusion: I like Jetbrains Mono better. Both fonts are similar, but Geist is rounder with less gap between letters, making it less legible at the code editor size. Instead, trying a new font: Zed Mono by @zeddotdev JB Mono. Zed mono
Trying out the Vercel™ font Jetbrains mono. Geist mono
30
5
217
81,819
SvelteKit is just the PEAK framework 🔥
9
13
207
21,702
neotraverse in @builderio Mitosis!! Here are the npm charts before and after swapping traverse with neotraverse. Almost half of the graph is gone by removing one seemingly-harmless dependency 🤯🤯🤯🤯 traverse neotraverse
8
12
207
44,759
Really happy seeing this. Also relieved he can't run react-scan on a Astro+Svelte docs site 😛😛😛 @aidenybai
2
3
210
12,949
this getting out of hand. Thankfully it looks better when collapsed
35
5
200
54,223
Here's what moving from jest to @vitest_dev can do for your codebase And test time went down from 20s to 2.26s 🔥 github.com/PuruVJ/svelte-dra…
6
17
202
Replying to @puruvjdev @JoeAbbey
I just googled what it means. I hope that ain't what you mean 🤣
2
1
197
37,979
VPS hell torture is going great. Every minute I spend setting up a droplet and nginx, the more gratitude I feel for Vercel
75
3
190
284,380
Moar patience! #svelte5
12
2
193
28,938
I have to say, esm-env package by Ben Mccann is one of the smartest implementation of any package that I have seen in a while github.com/benmccann/esm-env It does everything just by package.json's exports: And the content of the files is just 2 lines This is freakishly smart 🫡
5
26
189
Svelte 5's gonna change the async rendering story in entire web dev space! Stay tuned
23
8
181
26,719
Releasing a new package for the #vuejs community: ✨ @neodrag/vue ✨ 🤏 Tiny - Only *1.98KB* min+brotli. 🐇 Simple - No config needed! 🧙‍♀️ Elegant - Vue directive 🗃️ Highly customizable ⚛️ Reactive - Change options passed to it on the fly, it will just work 🙂
6
22
176
I can finally talk about this!! @Rich_Harris came up with the idea of a `magic` function imported from svelte module, that would allow for deep reactivity. Later, the team saw that $state could just be magic and deeply reactive ––– And now it is 🔥
Svelte is magic 🧙

ALT Magic GIF

10
9
180
146,743
The perfect PR does not exist...
5
1
173
10,752
#svelte tip – Delay loading spinner✨ Instead of showing loading spinner from the very first millisecond, wait for 200ms, then show. If the content loads before this 200ms, then no spinner! All with nested #await block 🔥
12
19
171
21,404
Vercel's team of Avengers just got their Doctor Strange 🔥🔥
today is a big day for @sveltejs: i've joined @vercel to work on it full time! so happy about what this means for svelte's future. it'll be the same independent, pluralistic project as before, but with Vercel's backing we can get ✨ a m b i t i o u s ✨ vercel.com/blog/vercel-welco…
4
5
169
Don't @ me
16
16
160
19,190
So fun to record this! Thanks a lot to @Rich_Harris for letting me cameo 😁🔥🙏
Svelte 5 RC is out!!!!!!!
7
2
159
20,903
People who do the first: Who hurt you?
16
9
161
16,443
✨ @neoconfetti/svelte is out now!! 15% smaller at just 1.36KB!! ✨
8
9
159
26,450
Based on the recent Vercel vs VPS drama, I have made a decisions: I'll be rebuilding puruvj​.dev on a VPS. Current: - SvelteKit app hosted on Cloudflare Pages - One server endpoint, and one KV store Plan: - VPS like DigitalOcean or Linode - SvelteKit running on Node server(within docker) - Redis as the KV store(No need to overcomplicate) - Cloudflare DNS in front Currently Im hosting it for free on cloudflare, new setup will cost me 5$/month, but this isn't about costs. It's high time I learned the sysadmin/self-hosting stuff. I'd always pick Vercel/Cloudflare/managed solution over self-hosting, however, my time is worth more than however much Vercel can cost me. But by paying this 5$/month I can take my skills and knowledge to a new level, for which this amount is just a rounding error and nothing more. Oh and @vercel sponsors my open source project macos-web​.app, so all the love to them for just existing! 🧡
34
5
153
84,328
It has been 5 months since we introduced the bottom navigation across all the svelte.dev sites. Do you consider this a "Hell yeah!!" change or "Naww" change?
47
3
158
44,894
Svelte repo is final switching to using @pnpmjs 🥳 It won't affect most people, but as a contributor it makes my life so much easier 🤩
2
12
147
17,283
Pleased to tell I have joined a really cool Svelte company 🥳🥳🥳. Will be starting very soon. Stay tuned for the namedrop next week 👀👀
13
1
156
5,727
Shallow routing is coming to SvelteKit!! Instagram style modal style routing will now be possible.
8
4
139
21,253
macOS Web is my personal project I did out of boredom from bedrest after my accident, and it turned out to be quite a headline! Simulates macOS initial UI to perfection visually. I had an entire journey where I started it with React, then slowly chipped away and rewrote it to Svelte, taking the bundle size down from 150KB to just 30KB. puruvj.dev/blog/macos-react-…
2
136
23,285
Power of Svelte's most underrated feature: Actions 🔥 Using renderless components creates a sense of false hierarchy. Svelte actions allow much cleaner code, that is easy to edit and understand 😍😍 @SvelteSociety
9
23
127
Replying to @theo
Al Dente Pro
2
1
137
63,642
It's confirmed!!!! import('node:http).WebSocket just got merged into main. Will then be available in node 22 soon, and then in node 20 ✨✨✨
Node 22 recently shipped native WebSocket support. Happy to see they're adding it back to Node 20(Current LTS) on node:http module. This is very helpful as a library author, now I can ditch isomorphic-ws in favor of native builtins on both browser and node.
3
8
138
9,419
Replying to @HumansNoContext
kayak
2
127
109,097
React lovers after looking at all Svelte features thoroughly
4
7
129
11,283
Ingenious!! @sveltejs 5 signals creation got 2x faster 🔥🔥🔥🔥🔥🔥 @trueadm is an absolute wizard 🙇🙇🙇🙇🙇 Before: After:
4
9
137
8,612
✨SvelteKit site has been updated to match Svelte .dev✨ - Bottom navigation - Table of contents on mobile - Unified markdown rendering And bonus: A new Copy code button. Coming soon to svelte site 😄
6
11
125
9,939
Thanks to @antfu7's VSCode File nesting config, sleep deprived coding gets better, cuz I can't mistype +page.server.ts as +page.svelte.ts(pretty common to do) and then wonder why I'm not getting server data If it's nested, its right. If it's not, it's wrong. And yes, this is the 3rd time in last week it's helped me. Easy to mess this up when sleep deprived or tired
6
10
130
28,427
I'm going through @preactjs's source code nowadays, and finding such astonishing things there. Here's a thread of some of amazing things in the source code 🧵 This here is the `Fragment`
5
15
130
web [dot] dev used to be such a beautiful site, until google "Google Developers"-ified this into the crap design it is now Before. After
13
1
122
16,026
Learn to have fun, people 😁
With all the drama happening around Remix and NextJS, I felt compelled to write my own thoughts ✍️🗒️ puruvj.dev/why-i-dont-use-sv…
1
5
121
8,305
I found an absolute jewel of a forms library today 🔥
3
6
123
12,691
Releasing a new package for the #solidjs community: ✨ @neodrag/solid ✨ 🤏 Tiny - Only *1.99KB* min+brotli. 🐇 Simple - No config needed! 🧙‍♀️ Elegant - SolidJS Directive 🗃️ Highly customizable ⚛️ Reactive - Change options passed to it on the fly, it will just work 🙂
5
13
121
💀💀💀💀💀💀💀💀💀💀💀
119
8,474
Holy shit authentication in Sveltekit is so darn easy 😱 Got this super barebones login and sign up working with very minimal code. @sveltejs you rock!! 🔥 github.com/PuruVJ/sk-login-j…
4
11
114
✨ @neoconfetti/react is out 🎊🎉 - 🤏 Tiny - 1.61KB min+br. - 🐇 Simple - <Confetti force={0.8} /> - 🗃️ Customizable- 🖥️ SSR friendly - Works seamlessly with @nextjs/@remix_run/@GatsbyJS
4
7
121
10,021
✨ SmartAwait ✨: Delay showing spinner while waiting for a fetch request or form submission, to avoid flickering. Sometimes, the spinner might only get 20ms of showtime even after a delay. To avoid spinner flicker, set `minSpinnerDuration`. Usage Source
7
3
119
19,032
HOLY SHIT express.js has been on v4 for 10 years!!!! 🤯🤯🤯🤯🤯
7
5
108
13,952
Sveltekit is getting native Import Maps support
6
4
110
9,717
Neodrag: One draggable to rule them all! Tiny <2KB library for dragging. Exceptionally small and fast, and available for Svelte, React, SolidJS, Vue, plain JS(and soon for @angular)
✨ Releasing Neodrag v2.0 ✨ - Smaller bundle size! (Up to 15%) - 5 new features - Multiple bug fixes - Faster runtime performance And, the most important: NEW DOCS!
1
2
111
25,740
Creator of Svelte agrees
3
111
26,993
Always disliked writing joins in SQL... Until now! 🤩
8
6
109
22,971
VSCode app in macos.vercel.app is now powered by @stackblitz I have been really liking the experience recently, hence it made perfect sense to give Stackblitz the love they deserve (On Brave Browser, disable shields on site to view this 🤷‍♂️)
8
12
109
🎉It's here!!!🎉 Windows are here!!!! ✨Open one by clicking any app icon ✨Open as many windows as you want(All the apps) ✨Drag them, resize them ✨Clicking on one behind other windows will bring to the front, just like regular MacOS Link below 👇
11
8
110
✨Svelte 5 localstorage state helper ✨ Syncs any and all changes to localstorage. If the value is a primitive(string, number, boolean etc), you use .value suffix across boundaries. But if it's an object(and not an array), you can skip .value.prop and directly do .prop
8
11
106
8,704
Busy evening
8
3
103
15,113
* Tries VPS for the first time and struggles * No one: Literally no one: 5 Devs: "Skill issue mate" Really, now... 😅
VPS hell torture is going great. Every minute I spend setting up a droplet and nginx, the more gratitude I feel for Vercel
37
3
101
57,654
🚀✨Relaunching puruvj​.dev, rebuilt in @astrodotbuild + @sveltejs 🚀 🚀 6x less JS than before! 🏔️ Small images: AVIF+Webp instead WebP 🪟 4 code schemes for all the 4 themes 🧘‍♂️Simplified stack
6
3
105
8,645