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
To get the React 19 beta version working in a typescript project you have to add the following to your types array in the tsconfigcompilerOptions object:
"types": ["react/canary"]
I couldn't see this in the upgrade guide, so could be worth adding a section to explain this is needed when working with React and Typescript