News for hackers. Stuff that matters.
Re:Making Sense of React Server Components by holoduke on Wednesday September 06, 2023 @05:48PM (#37411853)
JQuery is just a hammer. Its not a framework. It does provide utilities like selectors, events, triggers, dom manipulation etc. React is a component based framework. It contains pages, routes, state management, caching etc. You cannot compare those two. In a way jQuery is low level just above vanilla. Wheras react has a minimum of 500 execution layers. Thats why its slow and painful in many cases.
Re:Making Sense of React Server Components by keb_ on Thursday September 07, 2023 @12:00AM (#37414606)
To be pedantic, React is a library, and doesn't provide page abstractions, routes, or state management outside useState and useReducer. It also doesn't have very strong opinions about how you structure your application (what a framework does). That's what Next.js is for.

I agree with your overall sentiment though.

Re:Making Sense of React Server Components by paulddraper on Thursday September 07, 2023 @09:35AM (#37418714)
> It contains pages, routes, state management, caching etc.

React does not have routes or caching. It has about as much management as jQuery.