React is all about Component
β all user interfaces in the end are made up of components
every component need one root component for jsx code snippet
β every component has on clear concern, on focus, one specific task it focuses us on.
<aside> π‘ Split big chunks of code into multiple smaller functions
</aside>
In the end user interfaced are about HTML, CSS, JS
β all these components are about combining HTML, CSS, JS
β Combine HTML, CSS, JSS to build the entire user interface
React allow to create re-usable and reactive components
β consisting of HTML and JS (and CSS)
React uses Declarative Approach for building component
Define the desired target state and let React figure out the actual JS DOM instructions
β Build own, custom HTML Elements