Component is not updated when prop is changed
I have a component "ShowDocument" with a resource inside, the component has a variables that needs to used in the resources. The component is called with the following:
<ShowDocument documentId={showDoc()} onClose={closePanel} /> my issues is that when signal showDoc() in the prop "documentId" is updated the component ShowDocument is not updated, and will continue to show what was there when it was first rendered.