4 ms·
The render function is a pure function returning jsx based on the input, not invoking any stateful operation like "functional hook". So this style of code is f
by aabbcc1241 3y ago
The render function is a pure function returning jsx based on the input, not invoking any stateful operation like "functional hook".
So this style of code is fine in react