You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've recently upgraded to React v18 and also updated to latest version of react-template-helper and have encountered an issue that requires some attention.
In our previous setup with React 16, we used to pass ReactiveVars as props, and the .get() method reliably provided us with the updated value of the ReactiveVar. However, after transitioning to React 18, our components stopped rendering as expected. Notably, in React 16, we depended on componentWillReceiveProps, but in React 18, it appears that even UNSAFE_componentWillReceiveProps isn't getting triggered.
To help you better understand the problem, we've created a repository that reproduces this issue. You can find it here: Repo that reproduces this bug.
We would greatly appreciate any assistance or insights you can provide. Our aim is to resolve this issue and continue working effectively with React v18. Thank you for your help.
The text was updated successfully, but these errors were encountered:
Hello everyone,
We've recently upgraded to React v18 and also updated to latest version of
react-template-helper
and have encountered an issue that requires some attention.In our previous setup with React 16, we used to pass
ReactiveVars
as props, and the.get()
method reliably provided us with the updated value of the ReactiveVar. However, after transitioning to React 18, our components stopped rendering as expected. Notably, in React 16, we depended oncomponentWillReceiveProps
, but in React 18, it appears that evenUNSAFE_componentWillReceiveProps
isn't getting triggered.To help you better understand the problem, we've created a repository that reproduces this issue. You can find it here: Repo that reproduces this bug.
We would greatly appreciate any assistance or insights you can provide. Our aim is to resolve this issue and continue working effectively with React v18. Thank you for your help.
The text was updated successfully, but these errors were encountered: