Sorry for asking. We've had issues using ReactJS on MVC .NET4.8
Getting strange errors like React Dom already delcared ,Cannot read properties of null (reading 'useState')], Please expose version of React
Still couldn't come up with a solution.
Can you please help me to find the React version that ReactJS is using for .Net framweok 4.8?
Here is the config I use
ReactSiteConfiguration.Configuration
.SetAllowJavaScriptPrecompilation(false)
.SetLoadReact(false)
.SetLoadBabel(false)
.AddScriptWithoutTransform("~/main-script.js");
JsEngineSwitcher.Current.DefaultEngineName = V8JsEngine.EngineName;
JsEngineSwitcher.Current.EngineFactories.AddV8();
We're using latest possible version on Nuget and on FE side we're using React and Vite
Sorry for asking. We've had issues using ReactJS on MVC .NET4.8
Getting strange errors like
React Dom already delcared,Cannot read properties of null (reading 'useState')],Please expose version of ReactStill couldn't come up with a solution.
Can you please help me to find the React version that ReactJS is using for .Net framweok 4.8?
Here is the config I use
We're using latest possible version on Nuget and on FE side we're using React and Vite