Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MindPenguin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
MindPenguin
10y ago
It's not "overriding" lifecycle methods, it's passing lifecycle methods to a component factory function.
2.
▲
by
MindPenguin
10y ago
Conceptually, components have state, but it's all managed by react, so you only ever write pure functions. Granted, depending on how you update state in event handlers and lifecycle methods, you will need to think about state a lot, b