- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
As React UI controls become more sophisticated, complex logic can get intertwined with the visual representation. This makes it hard to reason about the behavior of the component, hard to test it, and necessary to build similar components that need a different look. Juntao Qiu tackles this by using a Headless Component, which extracts all non-visual logic and state management, separating the brain of a component from its looks.
from Martin Fowler https://ift.tt/10zBSK6
Comments
Post a Comment