9 Matching Annotations
  1. Last 7 days
  2. Nov 2019
    1. However, in this case you would lose the possibility to render something in between. You are strictly coupled to the higher-order component's render method. If you need to add something in between of the currency components, you would have to do it in the higher-order component. It would be quite similar as you have done it previously by rendering the currency components straight away in the Amount component. If using a render prop component instead, you would be flexible in your composition.
    2. For the sake of completeness, the following code demonstrates that the problem could be solved with a higher-order component (HOC) as well:
  3. Oct 2019
    1. We've extracted some key features into separate HOCs to keep the main library as small as possible
  4. Sep 2019
  5. Aug 2019