I went through the code for hono-jsx to make sure that I can use it with Lume v2 and the latest Hono version.
Summary:
- the HonoJsxEngine class has been updated to conform to the changes in 2.0, and should more closely resemble the jsx and jsx-preact plugins in the main repo.
hono-jsx/deps.tsandhono-jsx/demo/import_map.jsonhave been updated with recent versions of Lume and Hono (using npm specifiers for the Hono package).jsxFactoryandjsxFragmentFactoryhas been removed fromhono-jsx/demo/deno.jsonas I'm pretty sure it's no longer necessary (let me know if that's not the case).- demo app has been updated with a couple more examples of pages, layouts and components.
Let me know if I've missed or misunderstood something and I'll take another look at it!
I went through the code for hono-jsx to make sure that I can use it with Lume v2 and the latest Hono version.
Summary:
- the HonoJsxEngine class has been updated to conform to the changes in 2.0, and should more closely resemble the [jsx](https://github.com/lumeland/lume/blob/e990f125bbeafe19714e946687105e6003a7a47b/plugins/jsx.ts) and [jsx-preact](https://github.com/lumeland/lume/blob/e990f125bbeafe19714e946687105e6003a7a47b/plugins/jsx_preact.ts) plugins in the main repo.
- `hono-jsx/deps.ts` and `hono-jsx/demo/import_map.json` have been updated with recent versions of Lume and Hono (using npm specifiers for the Hono package).
- `jsxFactory` and `jsxFragmentFactory` has been removed from `hono-jsx/demo/deno.json` as I'm pretty sure it's no longer necessary (let me know if that's not the case).
- demo app has been updated with a couple more examples of pages, layouts and components.
Let me know if I've missed or misunderstood something and I'll take another look at it!