Pure functions can also easily be memoized which can speed up processing.
@media queries based on browser width are especially bad. Unfortunately there is no css way for stylings dependent on the width of the _component_ itself.
Pure functions can also easily be memoized which can speed up processing.
@media queries based on browser width are especially bad. Unfortunately there is no css way for stylings dependent on the width of the _component_ itself.