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
Argument of type 'Node' is not assignable to parameter of type 'ReactNode'.
2. For the part createElement
Type '(type: any, props: any) => Promise<React.CElement<any, React.Component<any, any, any>>>' is not assignable to type 'CreateElement'.
Type 'Promise<CElement<any, Component<any, any, any>>>' is not assignable to type 'Node | Promise<Node>'.
Type 'Promise<CElement<any, Component<any, any, any>>>' is not assignable to type 'Promise<Node>'.
Type 'ComponentElement<any, Component<any, any, any>>' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 46 more.
What version of HonoX are you using?
0.1.4
What steps can reproduce the bug?
I attempted to set up the React renderer as described in the README, but encountered a type error.
Write
./app/client.ts
.Type Error Occurs.
1. For the part
hydrateRoot(root, elem);
2. For the part
createElement
What is the expected behavior?
I expect that no type errors will occur.
What do you see instead?
No response
Additional information
It seems the same issue occurs at https://github.com/yusukebe/honox-playground/tree/main/projects/react.
If necessary, I can create a minimal sandbox to reproduce the issue.
The text was updated successfully, but these errors were encountered: