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
I find that I have to stick with the React 17 method of rendering the RootContainer for my tools to work in BG. Since Progress is Good, I'd like to be able to use the React 18 createRoot method as suggested by the warning:
Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
FWIW the demo works fine with createRoot, but integration into BG fails with an "Object() ... is not a function" error.
The text was updated successfully, but these errors were encountered:
Seems like a simple case of updating BG's React and Reagent and changing to use reagent.dom.client. The same change would likely also have to be done to all the tools, to use createRoot instead, which unfortunately breaks compatibility with older versions. Maybe the tool integration code has to be updated as well: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html
I find that I have to stick with the React 17 method of rendering the RootContainer for my tools to work in BG. Since Progress is Good, I'd like to be able to use the React 18
createRoot
method as suggested by the warning:Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
FWIW the demo works fine with
createRoot
, but integration into BG fails with an "Object() ... is not a function" error.The text was updated successfully, but these errors were encountered: