2 ms·
If you think that react (and FRP in general) is not a good way to build UIs, what is, in your opinion?
by nine_k 2y ago
If you think that react (and FRP in general) is not a good way to build UIs, what is, in your opinion?
- sesm 2y agoI don't agree that React is FRP. FRP is a generic solution that builds data-UI synchronization around data, and assumes that incremental UI updates will be written in UI code. React puts data-UI synchronization code inside UI components and provides an Immediate Mode-like API to avoid writing incremental updates in UI code.
- srcreigh 2y agoIn your world, the incremental UI code lives in the react library, and react applications aren’t UI code, they’re just FRP data transformations.
- sesm 2y agoReact components are clearly not FRP data transformations, they don't have any notion of data flows, observable/computed values, etc.