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
I'm not the world's greatest React developer, but it seems to me that this is only compatible with class components? The closest analog I can find is React Context, which does provide a wrapper component for use with function components. Anything similar to that possible, here?
The text was updated successfully, but these errors were encountered:
Hi @bradjones1, thanks for raising this issue. This package is not actively developed (anymore) but it should be possible to use the withData function with React function components. Let me know if you experience problems with this approach and if possible, provide a codesandbox of the code you tried.
I'm not the world's greatest React developer, but it seems to me that this is only compatible with class components? The closest analog I can find is React Context, which does provide a wrapper component for use with function components. Anything similar to that possible, here?
The text was updated successfully, but these errors were encountered: