3 ms·
whether getting a component via a function call, vs an named export identifier (component class) - They have essentially the same net benefit over time. A func
by jordache 7y ago
whether getting a component via a function call, vs an named export identifier (component class) - They have essentially the same net benefit over time.
A function that returns a component has no more reusability than a component class' identifier. That component itself has a very narrow use case of it being a UI component.