function MyComponent(props: {name: string}) { return <div>Hello {props.name}</div>;}console.log(<MyComponent name={"Dev"} />)
function MyComponent(props: {name: string}) { return <div>Hello {props.name}</div>;}console.log(<MyComponent name={"Dev"} />)
but when I run it I get
$ deno run -A test.tsxerror: Uncaught SyntaxError: The requested module '/v110/solid-js@1.6.11/deno/web.js' does not provide an export named 'assign' at <anonymous> (https://esm.sh/v110/solid-js@1.6.11/deno/h.js:2:20)
$ deno run -A test.tsxerror: Uncaught SyntaxError: The requested module '/v110/solid-js@1.6.11/deno/web.js' does not provide an export named 'assign' at <anonymous> (https://esm.sh/v110/solid-js@1.6.11/deno/h.js:2:20)
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
D
Deno
Chat about Deno, a modern runtime for JavaScript and TypeScript.