Do I need to do anything special for a with dynamic content (.children) inside an ?
I have something like this:
{this.props.stateVar}
Where stateVar is a dynamic string set by a Redux reducer. If is outside the it updates as expected. If it is inside it doesn't get triggered for an update. I've tried adding dummy props, wrapping the with another component that uses a prop to set the content string, and forcing re-render of the via a ref, but can't seem to get it to update the contents. Doesn't seem to matter if the Accordion is open or closed. Any help is appreciated.
As an aside, I'm new to Github - is this the right place to ask questions or is 'issues' only for bugs?
Do I need to do anything special for a with dynamic content (.children) inside an ?
I have something like this:
Where stateVar is a dynamic string set by a Redux reducer. If is outside the it updates as expected. If it is inside it doesn't get triggered for an update. I've tried adding dummy props, wrapping the with another component that uses a prop to set the content string, and forcing re-render of the via a ref, but can't seem to get it to update the contents. Doesn't seem to matter if the Accordion is open or closed. Any help is appreciated.
As an aside, I'm new to Github - is this the right place to ask questions or is 'issues' only for bugs?