| Start |
|---|
Basic Component |
| Stateful Component These components will have changing States. |
| Stateless Component As the name implies, Stateless Components do not have any local state. They are also known as Dumb Components. Without any local state, these components do not need lifecycle methods or much of the boilerplate that comes with a stateful component. Class syntax is not required, you can simply do Beneath is an example of two stateless components This is the recommended pattern for components, when possible. As in the future optimisations can be made for these components, reducing memory allocations and unnecessary checks. |
Read Article
https://develop.horje.com/learn/1434/reference