honojs-middleware/packages/react-compat
3w36zj6 16c103c2a9
chore: update hono version to 4.8 (#1281)
* chore: update hono version to 4.8

* chore: add hono as a devDependency to all workspaces
2025-07-05 18:37:06 +09:00
..
src feat: add @hono/react-compat package (#563) 2024-06-12 22:38:58 +09:00
CHANGELOG.md Version Packages (#1258) 2025-06-23 09:51:45 +09:00
README.md chore: add coverage badges (#1023) 2025-03-19 17:53:11 +09:00
deno.json chore: add jsr specifier for hono (#1277) 2025-07-04 10:47:19 +09:00
package.json chore: update hono version to 4.8 (#1281) 2025-07-05 18:37:06 +09:00
tsconfig.build.json refactor(tsconfig): use `configDir` (#1238) 2025-06-19 16:52:41 +09:00
tsconfig.json refactor: composite build (#1230) 2025-06-16 11:23:47 +09:00

README.md

Alias of hono/jsx for replacement of React

codecov

This package is used to install the React compatibility API provided by Hono. This package allows you to replace the "react" and "react-dom" entities with "@hono/react-compat".

Usage

npm install react@npm:@hono/react-compat react-dom@npm:@hono/react-compat

After installing in this way, "@hono/react-compat" will be loaded when "react" is specified in the jsxImportSource setting or in the import statement. See the npm docs for more information about aliased installs.

Author

Taku Amano https://github.com/usualoma

License

MIT