Sheet 2 needs to reference Sheet 1 but there seems to be a race condition as 50% of the time I get a ‘setState’ error which seems to be pointing to a #REF! error in Sheet 2s reference to Sheet 1.
It would be great top get a demo where we could replicate the issue. But what you can do before creating one is to just postpone the data setup in a useEffect/componentDidMount. Did you try that?
Thank you for the demo. When we switch the component, so the one with Sheet2 is loaded as second, then it works well. And as mentioned before, the useEffect() seems to work just fine to postpone the data read from the other sheet. Here’s an updated example https://jsfiddle.net/g5sukvf9/. Let me know if I miss anything.
I hope that the lack of reply means that the issue is solved. If you are still rechecking the solution and need some help, please create a new thread or send me an email at support@handsontable.com