Hello!
We have a ShapeDiver implementation in our react project and we display info, warning and error messages based on some content from the outputs
object.
To avoid multiple unwanted renders of the same message we have a useEffect
that will render the message only if there a change but sometimes we want to show the same message - like an error - on every parameter change if the issue is not solved because the user didn’t revert the parameter changes that caused the error in the first place. To be able to show the same message on each update we were relying on the version
of the output that seemed to be unique on each response from the output endpoint but that is not always the case.
Is this behavior expected? Is there a reason some messages have a new version
on each output response and others don’t?
Thanks for the help.
Best,
David