3 ms·
"Stateless components", aka if you're not trying to make things sound more complicated than they are, "functions"
by al2o3cr 4y ago
"Stateless components", aka if you're not trying to make things sound more complicated than they are, "functions"
- KasMA1990 4y agoa) there are plenty of cases where using e.g. a builder to construct a stateless component is better than having a straight up function. b) it's easy to have a function producing HTML that isn't ready for re-use in your application. Saying "It's just functions!" is really selling it short.