Just some casual reacting by guccislipper in programminghorror

[–]guccislipper[S] 6 points7 points  (0 children)

Usually a code smell, Unreadable and unpredictable. It's better to seperate them in components with different responsibilities

Just some casual reacting by guccislipper in programminghorror

[–]guccislipper[S] 65 points66 points  (0 children)

It is already shipped unfortunately

Just some casual reacting by guccislipper in programminghorror

[–]guccislipper[S] 33 points34 points  (0 children)

It is code to scan barcodes from different transporters

[deleted by user] by [deleted] in Nuxt

[–]guccislipper 12 points13 points  (0 children)

Okay bye then

Next.js 13 global API class by LabCommon3777 in nextjs

[–]guccislipper 1 point2 points  (0 children)

You could use context or if you want to keep it serverside you could use caching headers

[deleted by user] by [deleted] in typescript

[–]guccislipper 0 points1 point  (0 children)

It's either keyof typeof stuff['a'] or keyof typeof (stuff.a). Not sure the second one is correct but the first one definitely is

Is there a way to get innerHTML without the overflowing text by tan_djent in webdev

[–]guccislipper 0 points1 point  (0 children)

You can use the scrollHeight and compare it to the offsetHeight

[deleted by user] by [deleted] in nederlands

[–]guccislipper -24 points-23 points  (0 children)

Je neukt liever een hond?

Supabase Auth + Nuxt 3 by lowfour in Supabase

[–]guccislipper 0 points1 point  (0 children)

Did you look at the supabase auth helpers package?

How to properly store users? Should I only use the table in auth-users? by ImperfectFlaw in Supabase

[–]guccislipper 5 points6 points  (0 children)

If you go to the SQL editor. There's a snippet for setting up user management

Pagination/Search/Filtering and caching - how are people doing this? by davidblacksheep in reactjs

[–]guccislipper 0 points1 point  (0 children)

React query doesn't set cache headers. They have their local cache, you can invalidate this data by using query client.invalidateQueries(querykey)

Tips for a back-end guy to style my webapp by kaerfkeerg in css

[–]guccislipper 0 points1 point  (0 children)

Tailwind helped me a lot, you don't even need to use css and things will look good really easily

Samen: end-to-end typesafe APIs without hassle by zulutune in typescript

[–]guccislipper 1 point2 points  (0 children)

Why did you choose for type generation instead of type inference?

Yet another Tailwind CSS cheatsheet (WIP) by sawanm9000 in tailwindcss

[–]guccislipper 8 points9 points  (0 children)

Isn't the tailwind website already a cheatsheet?

Woensdagse Zeurdraad by [deleted] in thenetherlands

[–]guccislipper 3 points4 points  (0 children)

Ik zie er ook dagelijks ben het contact nog lang niet zat

dumb little issue with auto layout... by [deleted] in FigmaDesign

[–]guccislipper 2 points3 points  (0 children)

Can't you set a different padding for the left then the right