3 ms·
> Stateless components, or as I like to call them dumb components. You mean like pure functions? https://en.m.wikipedia.org/wiki/Pure_function https://en.m.wi
by rumanator 7y ago
> Stateless components, or as I like to call them dumb components.
You mean like pure functions?
https://en.m.wikipedia.org/wiki/Pure_function https://en.m.wikipedia.org/wiki/Pure_function
- gitgud 7y agoYes similar, I'm talking about reactive UI components though (used in React, Vue, Angular etc.). They're a class that might have many functions. In this case all the component's functions would be pure functions though. Perhaps a better term could be pure components maybe?
- BubRoss 7y agoWhat does that mean? Something that is read only?