5131
Part of @thedevs Rules: @rulesforthedevs Join other dev groups https://thedevs.network
utf16be shows typescript error but i haven't tested it.
Читать полностью…
Datastar is the better HTMX and Hotwire (it also has client-side signals that are similar to Alpine)
Читать полностью…
So what is in between like i want dont write bloats actually fuck react i did find svelte somewhat like goodish but it has its own downside
Читать полностью…
Why? Here's my Go experiences:
After writing Go for a bit I feel like productivity rumors are pretty true, BUT I am not very happy with the quality of the outputЧитать полностью…
I feel like I need more guarantees from the type system and static analysis than I'm getting
The runtime code while compiling and running feels a bit brittle, like I'll need to double check everything dynamically
Ultimately it depends on what you're building. If you're building a personal site or some small one-off project, go ham and implement everything from scratch. Buf if you want to build something people will actually use you don't really have much of a choice these days, unless you want to spend potentially hundreds of extra hours on stuff like accessibility, localization, routing without requiring a full page load every time, state management, etc.
That doesn't necessarily require a massive framework like React or Angular, but you're not going to get away with just vanilla JS either unless you just don't care.
The benefits outweigh the downsides. For instance, it saves us from having to write that awful language, Go
Читать полностью…
People write too much JS in general and that's the biggest problem IMHO.
JS was designed as a small scripting language for minor interactions on the page.
Using it to script server logic and drive application state is a big mistake.
TS eliminates some of the problems, but it doesn't solve it.
i used ucs2 and i get chineese text when i decode
Читать полностью…
Do you mean an encoding param used to convert from / to Buffer?
Читать полностью…
Everything has downsides. From a framework perspective svelte is really nice. There’s also the Hotwired libraries (Turbo and Stimulus), Alpine, and a lot more. Data-star and HTMX also exist.
Читать полностью…
Vanilla JS is great, right up until you start re-implementing react
Читать полностью…
There are compromises 🙂 whether you're fine with them or not is another question
Читать полностью…
this is such an absurd statement
A programming language is a programming language. js works on a server just fine without any compromises.
I see no pluses to write vanilla js for any projects
Читать полностью…
Why dont people write normal vanilla + html + css why they want abstravtion over everything why is it sexually transmitted disease in us js dev that we want abstration over everything
Is it alright like from professional point of veiw to write vanilla js for projects small/mid
If you see the Computed section in the DevTools you will get the actual result which is affected by zooming, maybe try that
Читать полностью…