Filip

1.3K posts

Filip

Filip

@sko_phi

가입일 Eylül 2023
35 팔로잉7 팔로워
Filip
Filip@sko_phi·
@aaronvi Tanstack want to replace every piece of library in every framework So in 2137 Tanner can shit Tanstack Maestro AGI centric replacement for React 127 and Vue 3.14159265
English
1
0
0
81
Aaron Villalpando
Aaron Villalpando@aaronvi·
is it just me or might tanstack be doing way too much
Aaron Villalpando tweet media
English
60
6
927
114.7K
Filip
Filip@sko_phi·
@devinjameson @DavidKPiano "There are only two kinds of languages: the ones people complain about and the ones nobody uses." Applies to frameworks too
English
0
0
0
69
Devin Jameson
Devin Jameson@devinjameson·
@DavidKPiano Quick React tip: stop using React. After 10+ years, we’re still sharing “tips” like this to avoid shooting ourselves in the foot. This should tell you something about the quality of the tool. None of us have any toes left.
English
3
0
7
820
David K 🎹
David K 🎹@DavidKPiano·
Quick React tip: don't subscribe to data that you don't render; it causes unnecessary rerenders. If it's only used in event handlers, read it there. AI coding agents tend to get this wrong.
David K 🎹 tweet media
English
26
29
664
58.9K
Filip
Filip@sko_phi·
@joelbqz @DavidKPiano This is such a pain Sometimes it's feel like AI (and many ppl) are treating useState as a signal instead of rerender trigger
English
0
0
0
20
Joel
Joel@joelbqz·
@DavidKPiano also, something that agents tend to get wrong is making a large component unnecessary re-render by using a hook with frequent updates but that its data is only used in one little place
English
1
0
2
1.3K
Filip
Filip@sko_phi·
@DavidKPiano When I start treating states as just a "trigger rerender" my live become much easier Do I want to trigger component rerender on selectedNodes change? No? Then I should use reference. In this case store itself
English
0
0
1
228
Filip
Filip@sko_phi·
@TheCatsX Protip for Android Click power button 2 times and camera will open Super useful when you can want to take a photo in cases like this
English
0
0
13
1.6K
The Cats 𝕏
The Cats 𝕏@TheCatsX·
Every cat owner can relate
English
28
1.6K
17.2K
314.1K
Filip
Filip@sko_phi·
@rustydotwtf @FabianHiller why not a builder pattern? Bundle size Builder pattern on its own require entire builder to be included Even if you never use z.string().email() bundle still require it to be included But plugins (like Dayjs) or compiler can help with that, but it's harder
English
0
0
1
19
rusty.wtf
rusty.wtf@rustydotwtf·
@FabianHiller hmmmm. the whole time i was reading this i kept saying, "why not a builder pattern?". but the reusable schema is kinda cool. is there a way to determine if there are conflicting schema objects?
English
1
0
1
706
Fabian Hiller
Fabian Hiller@FabianHiller·
🚀 Zod users — we need to talk. New Valibot blog just dropped: Why migrate to Valibot? The numbers of Schema Benchmarks are brutal: ✅ 88% smaller bundles (1.91 kB vs 16.57 kB) ✅ 16× faster initialization (54 μs vs 735 μs) Plus cleaner pipelines, precise TypeScript inference, and zero bloat. If you ship to web, edge, or serverless… this one hits different. Read it 👇 then be honest: valibot.dev/blog/why-migra… #TypeScript #Zod #Valibot #WebDev
English
28
19
358
30.1K
Filip
Filip@sko_phi·
@RyanCarniato Like yeah when someone don't like react vibes then they should look and svelte of Vue Moving to solid is best for ppl that love react vibe, but feel limited by current state architecture or react all or nothing state model
English
1
0
0
297
Ryan Carniato
Ryan Carniato@RyanCarniato·
The odd part of advocating for Solid is having to defend React first. A lot of the loudest anti‑React takes fixate on ergonomics or vibes, not the actual architectural issues. You can’t explain Solid’s advantages until you clear that fog.
English
14
5
207
11.5K
Filip
Filip@sko_phi·
@chribjel T3Script - a starter kit for EffectTS or typescript superset with pipes
English
0
0
0
16
Christoffer Bjelke
Christoffer Bjelke@chribjel·
theo, the king of wrappers t3chat -> llm wrapper t3code -> agent wrapper whats next?
English
107
5
1.5K
214.5K
Tanner Linsley
Tanner Linsley@tannerlinsley·
.@Tan_Stack CU Phase 1 - Table - Query - Virtual - Form - Store Phase 2 - Router - Start - DB - Pacer Phase 3 - Devtools - AI - CLI - Hotkeys Phase 4 ...
GIF
English
85
9
481
25.6K
Artem Zakharchenko
Artem Zakharchenko@kettanaito·
I am really looking forward to the day when all JavaScript frameworks will be built on top of the same bundler. The problems it solves are the same, and you can always achieve customization through extension. There is no reason for multiple bundlers to exist.
English
18
0
135
41.4K
Arthur Fiorette
Arthur Fiorette@arthurfiorette·
Hey @theo! The “Safe Assignment” proposal has evolved significantly since your last video. It’s now more elegant, renamed to ECMAScript Try Operator, and substantially refined. It’s changed a lot! I'd would value a fresh take.
Arthur Fiorette tweet media
English
41
21
780
59.4K
Samuel Fikre
Samuel Fikre@SamuelFikre_·
TS can't look inside strings yet, but we can make the data 100% type-safe and the execution 'Surgical' instead of 'Virtual' all in the htm format. So I forked htm and rebuilt the core with Signals for fast reactivity. github.com/Samuel-Fikre/h… @RyanCarniato @_developit
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
2
0
6
3.6K
Filip
Filip@sko_phi·
@tobobo @voidzerodev Linters will only work in one case (your code, you don't used it) But for libraries, where you don't know what end dev will used And specially for code splitting, where this function is used in only some chunks
English
1
0
0
30
Tobias | Tuneshine
Tobias | Tuneshine@tobobo·
@sko_phi @voidzerodev Yeah, for many cases where you don’t end up using the function result I’d expect you’d want a linter to catch it anyway as it would make the code less readable- but it’s easy to accidentally export something and forget about it, and linters won’t usually check for unused exports
English
1
0
0
64
VoidZero
VoidZero@voidzerodev·
Did you know about the `/*@__NO_SIDE_EFFECTS__*/` annotation? It tells bundlers that a function has no side effects so every call to it can be tree-shaken if the result is unused. Most bundlers and minifiers support it today. But there's a nuance most people miss 👇
English
5
11
161
14.9K
Filip
Filip@sko_phi·
@tobobo @voidzerodev For example unused exports like: export const useFoo = defineFoo()
English
1
0
0
68
Filip
Filip@sko_phi·
@josefbender_ @JavaScript Or you can make code more cursed by using CSV strings like '401;402;403' But at least performance bros will not complain about creating arrays
English
0
0
2
7.8K
Josef Bender
Josef Bender@josefbender_·
Underrated @JavaScript Trick: Instead of using multiple checks. You can use Array. contains. → Easier to read and much cleaner code!
English
37
12
323
207.6K
Filip
Filip@sko_phi·
@0xCRASHOUT If they switch to angular then maybe But solidjs and react can be organized the same way. React was the most loosely organized frameworks/library and this is pro for react
English
0
0
0
51
crashout
crashout@0xCRASHOUT·
there's a reason why cursor is moving from solidjs to react. its because in frontend, code organization matters more. frontend is way harder to debug and harder to understand. backend is all terminal, logs, there's no visual and UX layer that you have to consider and get right. backend is just: do you understand system architecture and state machine? run benchmarks and see your performance. security can be vibecoded. its easy as fuck for an ai to do backend. frontend? anything with visuals, observers, timings is incredibly hard for ai to do well and trying to ORGANIZE your frontend code so the codebase is well organized with high code quality and easy to understand with minimal hops is very hard.
D1ol@0xD1ol

@0xCRASHOUT what, no broski, no you dont care about security on frontend, but you always MUST think about it on backend. you can generate your shitty-cool frontent via AI and dont care, but you cant do sense backend with AI without analitics

English
18
1
29
21K
Filip
Filip@sko_phi·
@theo Just give me scoping tags and I can ditch folder all together
English
0
0
0
10
Theo - t3.gg
Theo - t3.gg@theo·
Gen Z is right. File systems are bad design. We've stockholm syndrome'd ourselves into thinking otherwise.
English
490
50
1.5K
362.7K
Filip
Filip@sko_phi·
@DouglasCarswell You can make better cable with the same connector or with backward compatibility You can have 2 cables for the same device
English
0
0
0
6