I am planning to create a component library

Hi all,

I am planning to start writing my own components library.

My doubt is:

  • Should I write all live components?
  • Or should I keep simple components as dead function components?

Thank you

I would guess that most components don’t need internal state and thus can be done with function components. Either way, the latter should always be preferred unless not possible.