3 ms·
The right approach here is really to just do the logic outside of jsx, perhaps as a method on the component or something.
by foota 9y ago
The right approach here is really to just do the logic outside of jsx, perhaps as a method on the component or something.