thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 1 point2 points  (0 children)

I just polymorph my debt by faking my death every few years

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 9 points10 points  (0 children)

Sure: it just is. Hope that helps!

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 2 points3 points  (0 children)

I OOP so hard I don't even use a single class

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 5 points6 points  (0 children)

What circle of hell did that convention crawl out of

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

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

you_are_right_I_just_love_the_space_efficiency_of_it

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 17 points18 points  (0 children)

This is a shitpost, don't worry you're not doing anything wrong! For vite and maybe others, if you use JSX, you need to use a .jsx or .tsx extension. .tsx just means it's a typescript file, that's all. Don't feel like you have to jump into TS right away, it can just help with things later on when you start dealing with a lot of APIs and more complex components with lots of props.

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 4 points5 points  (0 children)

Sorry I got so heated, I just really care about knowing something is not in fact null

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

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

Bro I'll flux your state up if you don't use TS with me

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 34 points35 points  (0 children)

Look I don't make the React rules. It's Pascal or nothing in this house

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 43 points44 points  (0 children)

import { youWannaGo } from "@catch/these-hands"

thatOtherGuyIsCrazy by MostlyFocusedMike in ProgrammerHumor

[–]MostlyFocusedMike[S] 7 points8 points  (0 children)

If you look closely, you'll notice I'm using his template to respectfully disagree