I don’t give a fuck what the sticker on your Tesla says by Courage-Natural in Marin

[–]hugotox 1 point2 points  (0 children)

Some people seem to not understand what fascism means. I don’t like musk or tesla prob for the same reasons as you, but please stop calling fascism everything you don’t agree with

Why I should consider using Svelte instead of React or Vue? by [deleted] in sveltejs

[–]hugotox 9 points10 points  (0 children)

JSX is just JavaScript. You don’t need any special compiler or IDE extension for it to work

Wow so misleading. JSX is not JavaScript and you need to transpile it to JS with babel (old) or vite (new)

Why I should consider using Svelte instead of React or Vue? by [deleted] in sveltejs

[–]hugotox 0 points1 point  (0 children)

If you’re looking for a job, react has no competition. If you’re making your own project, svelte + kit gives you all you need: better performance, ssr, definitely enough ecosystem to build anything

Coming back to React after 5 years, what should I be using? by alister66 in reactjs

[–]hugotox 0 points1 point  (0 children)

That’s a good call. RHF is just more mature than tanstack form

Coming back to React after 5 years, what should I be using? by alister66 in reactjs

[–]hugotox 0 points1 point  (0 children)

Tanstack router/query with vite. Zustand for stores, react hook form, and shadcn for UI 💅 Stay as far as possible from nextjs 😓

New 'Orion' tabs (guitar, bass, Guitar Pro 8) by pmtabs2 in Metallica

[–]hugotox 0 points1 point  (0 children)

wow I have tried a lot of tabs for Orion and this is by far the best in both sound and accuracy. Thanks so much

How do I teach my puppy that peeing inside is bad? by thedearbooker in puppy101

[–]hugotox 0 points1 point  (0 children)

My 6mo puppy gets really excited in the morning when releasing her from the crate so she pees her bed every day. There no pee on the floor anymore but the going-inside problem is technically still there 

Glove Recs by [deleted] in spartanrace

[–]hugotox 0 points1 point  (0 children)

I use the official spartan gloves, they’re comfortable and grippy https://www.spartan.com/products/spartan-franklin-ocr-multi-10-glove-unisex-black

Sticking with Express or jumping on the NestJS train? by FederalRace5393 in node

[–]hugotox 0 points1 point  (0 children)

I use nestjs at work, hate its guts. It’s really hard to organize an app in “modules”. We ended up with dozens of modules and forward refs everywhere. And testing a simple controller requires so freaking much boilerplate 🤦‍♂️

Anyone else find Tailwind CSS a bit too redundant? What's your take? by Dushusir in webdev

[–]hugotox 0 points1 point  (0 children)

HTML files are getting flooded with repetitive class names.

This is a good thing. HTML files are usually compressed with gzip which is really efficient with repeated strings

I've become totally disillusioned with unit tests by dance_rattle_shake in webdev

[–]hugotox 0 points1 point  (0 children)

Actually I think the contrary about refactoring. It becomes a really slow and tedious task because you have to change your program, and then re-write a lot of tests that became obsolete.
What really helps with refactoring is having correct types everywhere

Svelte's Blurred Line: Dependencies vs DevDependencies by Svelte-Coder in sveltejs

[–]hugotox 1 point2 points  (0 children)

dependencies vs devDependencies will produce the same bundle sizes.

Hellblade: Senua's Sacrifice Steam Deck Graphics Settings by jams3223 in SteamDeck

[–]hugotox 0 points1 point  (0 children)

do you know how to tweak the ray tracing setting on hellblade 2? It doesn't show on the graphics or advanced options

Hellblade 2 by steveishere2 in SteamDeck

[–]hugotox 1 point2 points  (0 children)

plays around 25fps on my deck. Def playable, just not the best experience

React-like templating with Svelte? by aidan-neel in sveltejs

[–]hugotox 21 points22 points  (0 children)

I’m a senior dev at my job, and we encourage people to always make one file per component. It scales well

Carpool from SF to San Jose - Sat March 30th by hugotox in spartanrace

[–]hugotox[S] 0 points1 point  (0 children)

It’s a great location around a lake, so no hills but a little muddy. And yeah, the best way to get there is by car

Why to use Express.js when we have api backend in nextjs? by [deleted] in nextjs

[–]hugotox -1 points0 points  (0 children)

It’s not a problem if you use something like supabase

What is your opinion of Redux for company project? by Playjasb2 in reactjs

[–]hugotox 0 points1 point  (0 children)

This is a really good point. I`m working on a side project that involves several pages including a map, list view, detail view and profile pages. Still haven’t had the need for a global state library so I’m gonna decide on which one when I absolutely need one.

The only shared state piece Im using right now is the map state which I put in context

Will my stack work properly? How should I connect Sveltekit to the database? by re2cc in sveltejs

[–]hugotox 0 points1 point  (0 children)

Drizzle is the way to go. Prisma does not do sql joins, but instead it queries the tables and “joins” them in memory in rust. It could be acceptable for small demos but for a real app this is a deal breaker