I'm getting Uncaught ReferenceError: React is not defined when running the below code. I'm not sure why React is in the equation here. What am I missing about how this works?
import { Router, pathIntegration } from '@rturnq/solid-router';
const Root = () => {
return (
<Router integration={pathIntegration()}>
<h1>App</h1>
</Router>
);
};
export default Root;
Versions:
"@rturnq/solid-router": "^0.2.6",
"solid-js": "^0.26.5",
Thanks!
I'm getting
Uncaught ReferenceError: React is not definedwhen running the below code. I'm not sure why React is in the equation here. What am I missing about how this works?Versions:
Thanks!