Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing pieces for React compatibility #2792

Closed
usualoma opened this issue May 25, 2024 · 1 comment
Closed

Missing pieces for React compatibility #2792

usualoma opened this issue May 25, 2024 · 1 comment
Labels
enhancement New feature or request.

Comments

@usualoma
Copy link
Member

What is the feature you are proposing?

version

In React we can get the version string as follows, but not in hono/jsx

import { version } from 'react';

https://github.com/facebook/react/blob/main/packages/shared/ReactVersion.js#L15

react/dom/client

The createRoot and hydrateRoot APIs are not implemented in hono.

import { createRoot, hydrateRoot } from 'react-dom/client';
@yusukebe
Copy link
Member

This was fixed by #2795.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants