What is the feature you are proposing?
I started thinking wishing hono/jsx/dom would be more compatible with React.
Using a bundler such as Vite to create an alias with hono/jsx/dom in react will work with some React libraries.
resolve: {
alias: {
react: 'hono/jsx/dom'
}
}
For example, React DnD works: https://github.com/usualoma/hono-jsx-dnd
However, when I tried other UI libraries, they all failed to work.
The errors will occur if the following are not exported:
createRef
Fragment
forwardRef
Children
- etc
Also, even if there is an API, the behavior is different, resulting in an error.
However, it would be great if these libraries were available so that more people could use hono/jsx.
What is the feature you are proposing?
I started thinking wishing hono/jsx/dom would be more compatible with React.
Using a bundler such as Vite to create an alias with
hono/jsx/dominreactwill work with some React libraries.For example, React DnD works: https://github.com/usualoma/hono-jsx-dnd
However, when I tried other UI libraries, they all failed to work.
The errors will occur if the following are not exported:
createRefFragmentforwardRefChildrenAlso, even if there is an API, the behavior is different, resulting in an error.
However, it would be great if these libraries were available so that more people could use hono/jsx.