DEV Community

Discussion on: The Cost of Consistency in UI Frameworks

Collapse
 
ryansolid profile image
Ryan Carniato

console.log is the easiest way to show where it can be observed by a developer. There is probably only the smallest window for things to get out of sync here between the state and the UI, but for React for example this consistency is very important to them. Others to varying degree.

The interesting part I think is that these all have very similar syntax and they work a little differently. I don't think this trivial example is as important as what it shines a light on in terms of mental model and values etc...