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
Incidentally, cloneWithProps is now deprecated and it should be React.cloneElement. I'm not able to
make it work even by using that cloneElement, though. I can think of a few workarounds but they all seem
terrible.
Any ideas?
The text was updated successfully, but these errors were encountered:
It seems a bit wrong to me, because really that should not be doing a key change to force that update, but that seemed to be the best solution for now...
I have a page like this:
If I update the CustomerStore with a customer (say via an asynchronous request), it
will not trigger the tab content components to re-render.
I believe that is due to the
cloneWithProps
call (https://github.com/akiran/react-foundation-apps/blob/master/lib/tabs/index.jsx#L16).Incidentally, cloneWithProps is now deprecated and it should be
React.cloneElement
. I'm not able tomake it work even by using that
cloneElement
, though. I can think of a few workarounds but they all seemterrible.
Any ideas?
The text was updated successfully, but these errors were encountered: