Hacker News new | ask | show | jobs
by nine_k 567 days ago
Makes sense: React itself is independent from a particular rendering method. There's react-dom that does the DOM rendering.

I was trying to point at the fact that rendering occurs on top of state management, as opposed to saying that "React is a rendering library".

1 comments

You are right, and my calling it imGUI is a stretch since actually it does rely on state to know when to render.

If you think about it, the end goal is rendering, and React facilitates that, but the actual rendering (as in, changing page DOM, terminal buffer, etc.) happens outside of React. So my definition may need to be adjusted.

I still think it’s a stretch to call React a framework, though!