4 ms·
The React way would be reusable as well. The actual code is being passed as an anonymous function which could be extracted out and named.
by pests 13y ago
The React way would be reusable as well. The actual code is being passed as an anonymous function which could be extracted out and named.