Re:Web Components Eliminate JavaScript Framework Lock-In
by zelphirkalt on Tuesday November 28, 2023 @07:00AM
(#38444818)
> React is simple. Here is your data, and here is a function that transforms that data into a view.
Is that aspect so much different from templating engines? In templating engines the rendering step is simply abstracted one step further: You get a generalized render function, that you pass data to and a template to render with that data. That is also a function to turn your data into a view. I don't see how React is better in that aspect.
Is that aspect so much different from templating engines? In templating engines the rendering step is simply abstracted one step further: You get a generalized render function, that you pass data to and a template to render with that data. That is also a function to turn your data into a view. I don't see how React is better in that aspect.