react-native-collapsible
react-native-collapsible copied to clipboard
renderContent must be setState to be refreshed?
I used the Accordion with mobx,but can't refresh the view of renderContent
See https://github.com/oblador/react-native-collapsible/issues/157#issuecomment-381661363
@iRoachie Thanks for your reply.
The problem I encountered is that the components in the renderContent cannot update their status, as shown in the figure. I used the Mbox variable to mark their status. Can you help me?
I am having the same issue
Me too. In a functional component renderContent seems to be updated only once, not on every useState function call. I am not relying my update on mobx on redux, simple state change.
Same here. My renderContent is using a state variable but after the content is loaded, it never refreshes when the state variable is updated.
same here