Skip to main content
Home

Built and signed on GitHub Actions

A small library to convert Hono JSX to React JSX

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
88%
Published
5 months ago (0.1.2)

hono-jsx-to-react

npm version npm downloads jsr version

📦 Installation

npm install hono-jsx-to-react hono

📚 Usage

import { toReactNode } from "hono-jsx-to-react";

const element = <div> Hello World! </div>;
console.log(toReactNode(element));
// {
//   type: "div",
//   key: null,
//   props: {
//     children: "Hello World!"
//   },
// }

📄 License

Published under MIT License.

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@luxass/hono-jsx-to-react

Import symbol

import * as hono_jsx_to_react from "@luxass/hono-jsx-to-react";
or

Import directly with a jsr specifier

import * as hono_jsx_to_react from "jsr:@luxass/hono-jsx-to-react";

Add Package

pnpm i jsr:@luxass/hono-jsx-to-react
or (using pnpm 10.8 or older)
pnpm dlx jsr add @luxass/hono-jsx-to-react

Import symbol

import * as hono_jsx_to_react from "@luxass/hono-jsx-to-react";

Add Package

yarn add jsr:@luxass/hono-jsx-to-react
or (using Yarn 4.8 or older)
yarn dlx jsr add @luxass/hono-jsx-to-react

Import symbol

import * as hono_jsx_to_react from "@luxass/hono-jsx-to-react";

Add Package

vlt install jsr:@luxass/hono-jsx-to-react

Import symbol

import * as hono_jsx_to_react from "@luxass/hono-jsx-to-react";

Add Package

npx jsr add @luxass/hono-jsx-to-react

Import symbol

import * as hono_jsx_to_react from "@luxass/hono-jsx-to-react";

Add Package

bunx jsr add @luxass/hono-jsx-to-react

Import symbol

import * as hono_jsx_to_react from "@luxass/hono-jsx-to-react";