React

27
Jump in the discussion.

No email address required.

Idk how to react to this

Jump in the discussion.

No email address required.

Use state

Jump in the discussion.

No email address required.

:#marseyhesright:

Jump in the discussion.

No email address required.

I use Redux BTW!

Jump in the discussion.

No email address required.

I use Redux. It helped me to stop fricking up my whole system with state changes like a mong.

Jump in the discussion.

No email address required.

Kind of crazy how poorly conceived react really is. There's no real reason for it to be the way it is. Just make state a variable neighbor. Make React react to it so I can use regular js if I want neighbor.

Jump in the discussion.

No email address required.

But it's ok bro, like you can just dip into React as little or as much as you want, it's just a view library bro...

In reality:

>Haha I'm the render cycle, you have no idea when your code will run so please go ahead and code every function that might ever get run at some point with a giant conditional that ensures it does the right thing no matter what the state is, but you also will find it hard to code a proper state machine on top of my shit because I change the state, you don't.

Jump in the discussion.

No email address required.

Literally all anyone wants is something that dynamically spits html into the dom, takes html out of the dom, and lets you bind with variables.

Why is there even state and a state machine? Did they think web devs are too good for variables? Why is there a virtual dom and a shadow dom?

Maybe I'm just too r-slurred to understand the ways of the web tbh

Jump in the discussion.

No email address required.

I actually tried to make my own react like framework, to see how it works. I made it into one big frick up where I had like 40 thousand lines of JS code before I gave up and just use react and redux.

Jump in the discussion.

No email address required.

>I actually tried to make my own react like framework

:marseyemojilaugh:

I want to use Solid but there's too much free premade shit in react

Jump in the discussion.

No email address required.

Oh I forgot to mention. My react like framework was made to make a reddit clone for a project I was doing for work... For free.

Jump in the discussion.

No email address required.

Oh you're the fricking bot, frick sake

Jump in the discussion.

No email address required.

I'm not a bot, I just happen to code all day and my colleagues like to joke about me.

Jump in the discussion.

No email address required.

>Bussy-boy

:marseysquint:

Jump in the discussion.

No email address required.

More comments

This is true if you work only with r-slurred sexy Indian dudes. If you keep consistent patterns and work with people who understand what they are doing react is easy to follow (which is true of every language tbh).

Now RSC is the work of the devil and I refuse to learn it. I don't care what next.js thinks is the future, I want react to be only the V in MVC. I will learn svelte before I touch that shit :marseyschizowall:

Jump in the discussion.

No email address required.

Same, server side react is the mutant offspring of an already cursed frankenstein monster that is javascript rendering

Jump in the discussion.

No email address required.

:#marseywitch:

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.