honojs-middleware/packages/react-compat
Jonathan Haines 3b5eb36b4f chore(dev-deps): upgrade to hono v4 (#1092)
* chore(dev-deps): upgrade to hono v4

* chore(zod-openapi): build workspace dependencies

* chore(trpc-server): ignore null body type
2025-04-09 09:28:14 -04:00
..
src feat: add @hono/react-compat package (#563) 2024-06-12 22:38:58 +09:00
CHANGELOG.md Version Packages (#569) 2024-06-12 22:42:10 +09:00
README.md chore: add coverage badges (#1023) 2025-04-09 09:26:26 -04:00
package.json chore(dev-deps): upgrade to hono v4 (#1092) 2025-04-09 09:28:14 -04:00
tsconfig.json build(react-compat): lint published package (#1060) 2025-04-09 09:26:27 -04: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