Similar to lucy-state, I think a component is a preferred way to interact with rendering the value, as opposed to useRenderValue():
I think the naming is better
semantically, a component is better in the markup compared to a direct function
no difference when we have a selector, it is just a passed property
I don't think the overhead will be any sort of important. In theory, we can add a separate treatment for these components, basically inlining them and treating them similar to if we called useRenderValue() directly.
Description
Similar to lucy-state, I think a component is a preferred way to interact with rendering the value, as opposed to
useRenderValue()
:I don't think the overhead will be any sort of important. In theory, we can add a separate treatment for these components, basically inlining them and treating them similar to if we called
useRenderValue()
directly.