Is there a way to use Shudan in a React app without webpack? My project uses TypeScript and ESBuild, but I don't know how to translate the webpack instructions to TS.
When I try to use <Goban> in my TSX, this is the error I get:
src/index.tsx:127:4 - error TS2786: 'Goban' cannot be used as a JSX component.
Its type 'ComponentClass<GobanProps, {}>' is not a valid JSX element type.
Type 'ComponentClass<GobanProps, {}>' is not assignable to type 'new (props: any, deprecatedLegacyContext?: any) => Component<any, any, any>'.
Property 'refs' is missing in type 'Component<GobanProps, {}>' but required in type 'Component<any, any, any>'.
Is there a way to use Shudan in a React app without webpack? My project uses TypeScript and ESBuild, but I don't know how to translate the webpack instructions to TS.
When I try to use
<Goban>in my TSX, this is the error I get: