Hacker News new | ask | show | jobs
by paulddraper 932 days ago
> 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...

1 comments

You can absolutely follow a discipline like this which recreates this separation in a framework that lacks it