You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inheriting from and sharing many of our components is made difficult by the fact that the default export is the result of the redux connect() function that makes them an HOC. Additionally, it means that to use those components without relying on state requires more or less duplicating the component.
If we instead created standard react components and then created wrapper components that used the connect() HOC, we could have the best of all the worlds. At the cost of inflating the number of files we have significantly.
The text was updated successfully, but these errors were encountered:
Inheriting from and sharing many of our components is made difficult by the fact that the default export is the result of the redux
connect()
function that makes them an HOC. Additionally, it means that to use those components without relying on state requires more or less duplicating the component.If we instead created standard react components and then created wrapper components that used the
connect()
HOC, we could have the best of all the worlds. At the cost of inflating the number of files we have significantly.The text was updated successfully, but these errors were encountered: