←back to thread

214 points stefankuehnel | 3 comments | | HN request time: 0.894s | source
Show context
attah_ ◴[] No.41840608[source]
So let me get this straight... PayloadCMS is a framework, for Next.js which is a framework for the React framework.

Yo dawg, i heard you like frameworks!

replies(4): >>41840780 #>>41840997 #>>41841176 #>>41842441 #
mzronek ◴[] No.41841176[source]
A common misconception. React is a library.

These are examples for React frameworks: https://react.dev/learn/start-a-new-react-project#production...

Next.js is a React framework.

If Payload is a framework or not is debatable. I think it's more like a data layer around a database for a any js app and an Admin Panel (that uses Next.js now). It might be called a framework for your own Headless CMS, because it is code first. So you basically code the panel and the data structure yourself.

replies(5): >>41841381 #>>41841800 #>>41842287 #>>41843339 #>>41843533 #
_heimdall ◴[] No.41843339[source]
React hasn't been a library since they added hooks.

Hooks themselves are just a solution to async code, but the implication was that react was no longer a state-based UI rendering library and became a full blown frontend framework.

replies(2): >>41843692 #>>41847473 #
1. gloosx ◴[] No.41847473[source]
Can you please guide me where this heresy is being spread?
replies(1): >>41848020 #
2. _heimdall ◴[] No.41848020[source]
You heard it here first, I'm officially breaking the story wide open.
replies(1): >>41856279 #
3. gloosx ◴[] No.41856279[source]
From what you posted in this thread, I can tell with confidence you don't know shit about web development

Hooks solution to async code? Hooks make React full blown forntend framework? Routing only important for single page applications? Yellow gorilla bread butter? Chickity dickity web frontend back single page I understand much