Hacker News new | ask | show | jobs
by hipertracker 3862 days ago
Web UI designers should be familiar with concept of web components. Angular is maybe not the best choice, but React is quite easy to explain. It's all about such components. Every React component is like a brick you can use to build the whole house. Every component looks like a custom tag <Message/>, can have clear defined parameters <Message text="Hello World"/>. It is very performant and easy to reason about. Forget about HTML or CSS :) Think about the component and its properties. It's very simple. It does not need to be related to the browser. <Foo/> is just a convenient abstraction which can work with the browser or as iOS/Android native component (thanks to React Native). The component may use HTML inside, but it is it's implementation details.