3 ms·
> So basic memoisation? No. Before you just had to worry about shouldComponentUpdate and data received from the 'outside'. With hooks you need to memoize argum
by ricardobeat 6y ago
> So basic memoisation?
No. Before you just had to worry about shouldComponentUpdate and data received from the 'outside'. With hooks you need to memoize arguments to every function you call within the component - you didn't have to memoize class methods. The concerns and patterns involved are very different.