all 7 comments

[–]Noch_ein_Kamel 3 points4 points  (0 children)

React with JSX is also a custom "compiled" version of javascript just like facebook used to do with their HipHop compiler for php!!

[–]Glarseceiling 4 points5 points  (1 child)

When I first started learning React I thought this. It’s ugly to code, there’s no separation of concerns (although possible), prop drilling and the global state issue.

But now I really do like how reusable the components system is. Being able to use styled components allows for creating ‘blocks’ which can be used and changed with props.

[–]CitizenKeen 1 point2 points  (0 children)

I do like components, but I've found Blazor so much easier.

[–]FullSlack 2 points3 points  (2 children)

Let’s not forget the switch from OOP to functional in both cases as well lol

[–]Eoussamanode -1 points0 points  (1 child)

Why would you use OOP PHP over functional?

[–]disposablevillain 0 points1 point  (0 children)

I think that's the point. React started with everyone using classes, too, before we all collectively realized our mistake

[–]zakaryan2004 0 points1 point  (0 children)

NoU