News for hackers. Stuff that matters.
Re:Web Components Eliminate JavaScript Framework Lock-In by paulddraper on Monday November 27, 2023 @02:22PM (#38436907)
> React conflates two concepts that I think are better when separated: templates, and components.

Whether a React code base conflates them depends on the code base, but the more familiar terminology is container vs presentation. [1]

[1] https://www.patterns.dev/react/presentational-container-patt...

Re:Web Components Eliminate JavaScript Framework Lock-In by djrenren on Monday November 27, 2023 @02:59PM (#38437371)
You can absolutely follow a discipline like this which recreates this separation in a framework that lacks it