Comparing version 0.1.0 to 0.1.1
@@ -1,3 +0,3 @@ | ||
import { jsx as jsxFn } from "hono/jsx"; | ||
import { render } from "hono/jsx/dom"; | ||
import { jsx as jsxFn } from "hono/jsx/dom/jsx-runtime"; | ||
import { COMPONENT_NAME, DATA_SERIALIZED_PROPS } from "../constants.js"; | ||
@@ -4,0 +4,0 @@ const createClient = async (options) => { |
@@ -6,12 +6,12 @@ import * as hono_types from 'hono/types'; | ||
declare const createRoute: { | ||
<I extends hono.Input = {}>(handler1: hono_types.H<Env, any, I>): [hono_types.H<Env, any, I>]; | ||
<I_1 extends hono.Input = {}, I2 extends hono.Input = I_1, R extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_1, R>, handler2: hono_types.H<Env, any, I2, R>): [hono_types.H<Env, any, I_1, R>, hono_types.H<Env, any, I2, R>]; | ||
<I_2 extends hono.Input = {}, I2_1 extends hono.Input = I_2, I3 extends hono.Input = I_2 & I2_1, R_1 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_2, R_1>, handler2: hono_types.H<Env, any, I2_1, R_1>, handler3: hono_types.H<Env, any, I3, R_1>): [hono_types.H<Env, any, I_2, R_1>, hono_types.H<Env, any, I2_1, R_1>, hono_types.H<Env, any, I3, R_1>]; | ||
<I_3 extends hono.Input = {}, I2_2 extends hono.Input = I_3, I3_1 extends hono.Input = I_3 & I2_2, I4 extends hono.Input = I_3 & I2_2 & I3_1, R_2 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_3, R_2>, handler2: hono_types.H<Env, any, I2_2, R_2>, handler3: hono_types.H<Env, any, I3_1, R_2>, handler4: hono_types.H<Env, any, I4, R_2>): [hono_types.H<Env, any, I_3, R_2>, hono_types.H<Env, any, I2_2, R_2>, hono_types.H<Env, any, I3_1, R_2>, hono_types.H<Env, any, I4, R_2>]; | ||
<I_4 extends hono.Input = {}, I2_3 extends hono.Input = I_4, I3_2 extends hono.Input = I_4 & I2_3, I4_1 extends hono.Input = I_4 & I2_3 & I3_2, I5 extends hono.Input = I_4 & I2_3 & I3_2 & I4_1, R_3 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_4, R_3>, handler2: hono_types.H<Env, any, I2_3, R_3>, handler3: hono_types.H<Env, any, I3_2, R_3>, handler4: hono_types.H<Env, any, I4_1, R_3>, handler5: hono_types.H<Env, any, I5, R_3>): [hono_types.H<Env, any, I_4, R_3>, hono_types.H<Env, any, I2_3, R_3>, hono_types.H<Env, any, I3_2, R_3>, hono_types.H<Env, any, I4_1, R_3>, hono_types.H<Env, any, I5, R_3>]; | ||
<I_5 extends hono.Input = {}, I2_4 extends hono.Input = I_5, I3_3 extends hono.Input = I_5 & I2_4, I4_2 extends hono.Input = I_5 & I2_4 & I3_3, I5_1 extends hono.Input = I_5 & I2_4 & I3_3 & I4_2, I6 extends hono.Input = I_5 & I2_4 & I3_3 & I4_2 & I5_1, R_4 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_5, R_4>, handler2: hono_types.H<Env, any, I2_4, R_4>, handler3: hono_types.H<Env, any, I3_3, R_4>, handler4: hono_types.H<Env, any, I4_2, R_4>, handler5: hono_types.H<Env, any, I5_1, R_4>, handler6: hono_types.H<Env, any, I6, R_4>): [hono_types.H<Env, any, I_5, R_4>, hono_types.H<Env, any, I2_4, R_4>, hono_types.H<Env, any, I3_3, R_4>, hono_types.H<Env, any, I4_2, R_4>, hono_types.H<Env, any, I5_1, R_4>, hono_types.H<Env, any, I6, R_4>]; | ||
<I_6 extends hono.Input = {}, I2_5 extends hono.Input = I_6, I3_4 extends hono.Input = I_6 & I2_5, I4_3 extends hono.Input = I_6 & I2_5 & I3_4, I5_2 extends hono.Input = I_6 & I2_5 & I3_4 & I4_3, I6_1 extends hono.Input = I_6 & I2_5 & I3_4 & I4_3 & I5_2, I7 extends hono.Input = I_6 & I2_5 & I3_4 & I4_3 & I5_2 & I6_1, R_5 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_6, R_5>, handler2: hono_types.H<Env, any, I2_5, R_5>, handler3: hono_types.H<Env, any, I3_4, R_5>, handler4: hono_types.H<Env, any, I4_3, R_5>, handler5: hono_types.H<Env, any, I5_2, R_5>, handler6: hono_types.H<Env, any, I6_1, R_5>, handler7: hono_types.H<Env, any, I7, R_5>): [hono_types.H<Env, any, I_6, R_5>, hono_types.H<Env, any, I2_5, R_5>, hono_types.H<Env, any, I3_4, R_5>, hono_types.H<Env, any, I4_3, R_5>, hono_types.H<Env, any, I5_2, R_5>, hono_types.H<Env, any, I6_1, R_5>, hono_types.H<Env, any, I7, R_5>]; | ||
<I_7 extends hono.Input = {}, I2_6 extends hono.Input = I_7, I3_5 extends hono.Input = I_7 & I2_6, I4_4 extends hono.Input = I_7 & I2_6 & I3_5, I5_3 extends hono.Input = I_7 & I2_6 & I3_5 & I4_4, I6_2 extends hono.Input = I_7 & I2_6 & I3_5 & I4_4 & I5_3, I7_1 extends hono.Input = I_7 & I2_6 & I3_5 & I4_4 & I5_3 & I6_2, I8 extends hono.Input = I_7 & I2_6 & I3_5 & I4_4 & I5_3 & I6_2 & I7_1, R_6 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_7, R_6>, handler2: hono_types.H<Env, any, I2_6, R_6>, handler3: hono_types.H<Env, any, I3_5, R_6>, handler4: hono_types.H<Env, any, I4_4, R_6>, handler5: hono_types.H<Env, any, I5_3, R_6>, handler6: hono_types.H<Env, any, I6_2, R_6>, handler7: hono_types.H<Env, any, I7_1, R_6>, handler8: hono_types.H<Env, any, I8, R_6>): [hono_types.H<Env, any, I_7, R_6>, hono_types.H<Env, any, I2_6, R_6>, hono_types.H<Env, any, I3_5, R_6>, hono_types.H<Env, any, I4_4, R_6>, hono_types.H<Env, any, I5_3, R_6>, hono_types.H<Env, any, I6_2, R_6>, hono_types.H<Env, any, I7_1, R_6>, hono_types.H<Env, any, I8, R_6>]; | ||
<I_8 extends hono.Input = {}, I2_7 extends hono.Input = I_8, I3_6 extends hono.Input = I_8 & I2_7, I4_5 extends hono.Input = I_8 & I2_7 & I3_6, I5_4 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5, I6_3 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5 & I5_4, I7_2 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5 & I5_4 & I6_3, I8_1 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5 & I5_4 & I6_3 & I7_2, I9 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5 & I5_4 & I6_3 & I7_2 & I8_1, R_7 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_8, R_7>, handler2: hono_types.H<Env, any, I2_7, R_7>, handler3: hono_types.H<Env, any, I3_6, R_7>, handler4: hono_types.H<Env, any, I4_5, R_7>, handler5: hono_types.H<Env, any, I5_4, R_7>, handler6: hono_types.H<Env, any, I6_3, R_7>, handler7: hono_types.H<Env, any, I7_2, R_7>, handler8: hono_types.H<Env, any, I8_1, R_7>, handler9: hono_types.H<Env, any, I9, R_7>): [hono_types.H<Env, any, I_8, R_7>, hono_types.H<Env, any, I2_7, R_7>, hono_types.H<Env, any, I3_6, R_7>, hono_types.H<Env, any, I4_5, R_7>, hono_types.H<Env, any, I5_4, R_7>, hono_types.H<Env, any, I6_3, R_7>, hono_types.H<Env, any, I7_2, R_7>, hono_types.H<Env, any, I8_1, R_7>, hono_types.H<Env, any, I9, R_7>]; | ||
<I_9 extends hono.Input = {}, I2_8 extends hono.Input = I_9, I3_7 extends hono.Input = I_9 & I2_8, I4_6 extends hono.Input = I_9 & I2_8 & I3_7, I5_5 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6, I6_4 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5, I7_3 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5 & I6_4, I8_2 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5 & I6_4 & I7_3, I9_1 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5 & I6_4 & I7_3 & I8_2, I10 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5 & I6_4 & I7_3 & I8_2 & I9_1, R_8 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_9, R_8>, handler2: hono_types.H<Env, any, I2_8, R_8>, handler3: hono_types.H<Env, any, I3_7, R_8>, handler4: hono_types.H<Env, any, I4_6, R_8>, handler5: hono_types.H<Env, any, I5_5, R_8>, handler6: hono_types.H<Env, any, I6_4, R_8>, handler7: hono_types.H<Env, any, I7_3, R_8>, handler8: hono_types.H<Env, any, I8_2, R_8>, handler9: hono_types.H<Env, any, I9_1, R_8>, handler10: hono_types.H<Env, any, I10, R_8>): [hono_types.H<Env, any, I_9, R_8>, hono_types.H<Env, any, I2_8, R_8>, hono_types.H<Env, any, I3_7, R_8>, hono_types.H<Env, any, I4_6, R_8>, hono_types.H<Env, any, I5_5, R_8>, hono_types.H<Env, any, I6_4, R_8>, hono_types.H<Env, any, I7_3, R_8>, hono_types.H<Env, any, I8_2, R_8>, hono_types.H<Env, any, I9_1, R_8>, hono_types.H<Env, any, I10, R_8>]; | ||
<I extends hono.Input = {}, R extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I, R>): [hono_types.H<Env, any, I, R>]; | ||
<I_1 extends hono.Input = {}, I2 extends hono.Input = I_1, R_1 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_1, R_1>, handler2: hono_types.H<Env, any, I2, R_1>): [hono_types.H<Env, any, I_1, R_1>, hono_types.H<Env, any, I2, R_1>]; | ||
<I_2 extends hono.Input = {}, I2_1 extends hono.Input = I_2, I3 extends hono.Input = I_2 & I2_1, R_2 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_2, R_2>, handler2: hono_types.H<Env, any, I2_1, R_2>, handler3: hono_types.H<Env, any, I3, R_2>): [hono_types.H<Env, any, I_2, R_2>, hono_types.H<Env, any, I2_1, R_2>, hono_types.H<Env, any, I3, R_2>]; | ||
<I_3 extends hono.Input = {}, I2_2 extends hono.Input = I_3, I3_1 extends hono.Input = I_3 & I2_2, I4 extends hono.Input = I_3 & I2_2 & I3_1, R_3 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_3, R_3>, handler2: hono_types.H<Env, any, I2_2, R_3>, handler3: hono_types.H<Env, any, I3_1, R_3>, handler4: hono_types.H<Env, any, I4, R_3>): [hono_types.H<Env, any, I_3, R_3>, hono_types.H<Env, any, I2_2, R_3>, hono_types.H<Env, any, I3_1, R_3>, hono_types.H<Env, any, I4, R_3>]; | ||
<I_4 extends hono.Input = {}, I2_3 extends hono.Input = I_4, I3_2 extends hono.Input = I_4 & I2_3, I4_1 extends hono.Input = I_4 & I2_3 & I3_2, I5 extends hono.Input = I_4 & I2_3 & I3_2 & I4_1, R_4 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_4, R_4>, handler2: hono_types.H<Env, any, I2_3, R_4>, handler3: hono_types.H<Env, any, I3_2, R_4>, handler4: hono_types.H<Env, any, I4_1, R_4>, handler5: hono_types.H<Env, any, I5, R_4>): [hono_types.H<Env, any, I_4, R_4>, hono_types.H<Env, any, I2_3, R_4>, hono_types.H<Env, any, I3_2, R_4>, hono_types.H<Env, any, I4_1, R_4>, hono_types.H<Env, any, I5, R_4>]; | ||
<I_5 extends hono.Input = {}, I2_4 extends hono.Input = I_5, I3_3 extends hono.Input = I_5 & I2_4, I4_2 extends hono.Input = I_5 & I2_4 & I3_3, I5_1 extends hono.Input = I_5 & I2_4 & I3_3 & I4_2, I6 extends hono.Input = I_5 & I2_4 & I3_3 & I4_2 & I5_1, R_5 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_5, R_5>, handler2: hono_types.H<Env, any, I2_4, R_5>, handler3: hono_types.H<Env, any, I3_3, R_5>, handler4: hono_types.H<Env, any, I4_2, R_5>, handler5: hono_types.H<Env, any, I5_1, R_5>, handler6: hono_types.H<Env, any, I6, R_5>): [hono_types.H<Env, any, I_5, R_5>, hono_types.H<Env, any, I2_4, R_5>, hono_types.H<Env, any, I3_3, R_5>, hono_types.H<Env, any, I4_2, R_5>, hono_types.H<Env, any, I5_1, R_5>, hono_types.H<Env, any, I6, R_5>]; | ||
<I_6 extends hono.Input = {}, I2_5 extends hono.Input = I_6, I3_4 extends hono.Input = I_6 & I2_5, I4_3 extends hono.Input = I_6 & I2_5 & I3_4, I5_2 extends hono.Input = I_6 & I2_5 & I3_4 & I4_3, I6_1 extends hono.Input = I_6 & I2_5 & I3_4 & I4_3 & I5_2, I7 extends hono.Input = I_6 & I2_5 & I3_4 & I4_3 & I5_2 & I6_1, R_6 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_6, R_6>, handler2: hono_types.H<Env, any, I2_5, R_6>, handler3: hono_types.H<Env, any, I3_4, R_6>, handler4: hono_types.H<Env, any, I4_3, R_6>, handler5: hono_types.H<Env, any, I5_2, R_6>, handler6: hono_types.H<Env, any, I6_1, R_6>, handler7: hono_types.H<Env, any, I7, R_6>): [hono_types.H<Env, any, I_6, R_6>, hono_types.H<Env, any, I2_5, R_6>, hono_types.H<Env, any, I3_4, R_6>, hono_types.H<Env, any, I4_3, R_6>, hono_types.H<Env, any, I5_2, R_6>, hono_types.H<Env, any, I6_1, R_6>, hono_types.H<Env, any, I7, R_6>]; | ||
<I_7 extends hono.Input = {}, I2_6 extends hono.Input = I_7, I3_5 extends hono.Input = I_7 & I2_6, I4_4 extends hono.Input = I_7 & I2_6 & I3_5, I5_3 extends hono.Input = I_7 & I2_6 & I3_5 & I4_4, I6_2 extends hono.Input = I_7 & I2_6 & I3_5 & I4_4 & I5_3, I7_1 extends hono.Input = I_7 & I2_6 & I3_5 & I4_4 & I5_3 & I6_2, I8 extends hono.Input = I_7 & I2_6 & I3_5 & I4_4 & I5_3 & I6_2 & I7_1, R_7 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_7, R_7>, handler2: hono_types.H<Env, any, I2_6, R_7>, handler3: hono_types.H<Env, any, I3_5, R_7>, handler4: hono_types.H<Env, any, I4_4, R_7>, handler5: hono_types.H<Env, any, I5_3, R_7>, handler6: hono_types.H<Env, any, I6_2, R_7>, handler7: hono_types.H<Env, any, I7_1, R_7>, handler8: hono_types.H<Env, any, I8, R_7>): [hono_types.H<Env, any, I_7, R_7>, hono_types.H<Env, any, I2_6, R_7>, hono_types.H<Env, any, I3_5, R_7>, hono_types.H<Env, any, I4_4, R_7>, hono_types.H<Env, any, I5_3, R_7>, hono_types.H<Env, any, I6_2, R_7>, hono_types.H<Env, any, I7_1, R_7>, hono_types.H<Env, any, I8, R_7>]; | ||
<I_8 extends hono.Input = {}, I2_7 extends hono.Input = I_8, I3_6 extends hono.Input = I_8 & I2_7, I4_5 extends hono.Input = I_8 & I2_7 & I3_6, I5_4 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5, I6_3 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5 & I5_4, I7_2 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5 & I5_4 & I6_3, I8_1 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5 & I5_4 & I6_3 & I7_2, I9 extends hono.Input = I_8 & I2_7 & I3_6 & I4_5 & I5_4 & I6_3 & I7_2 & I8_1, R_8 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_8, R_8>, handler2: hono_types.H<Env, any, I2_7, R_8>, handler3: hono_types.H<Env, any, I3_6, R_8>, handler4: hono_types.H<Env, any, I4_5, R_8>, handler5: hono_types.H<Env, any, I5_4, R_8>, handler6: hono_types.H<Env, any, I6_3, R_8>, handler7: hono_types.H<Env, any, I7_2, R_8>, handler8: hono_types.H<Env, any, I8_1, R_8>, handler9: hono_types.H<Env, any, I9, R_8>): [hono_types.H<Env, any, I_8, R_8>, hono_types.H<Env, any, I2_7, R_8>, hono_types.H<Env, any, I3_6, R_8>, hono_types.H<Env, any, I4_5, R_8>, hono_types.H<Env, any, I5_4, R_8>, hono_types.H<Env, any, I6_3, R_8>, hono_types.H<Env, any, I7_2, R_8>, hono_types.H<Env, any, I8_1, R_8>, hono_types.H<Env, any, I9, R_8>]; | ||
<I_9 extends hono.Input = {}, I2_8 extends hono.Input = I_9, I3_7 extends hono.Input = I_9 & I2_8, I4_6 extends hono.Input = I_9 & I2_8 & I3_7, I5_5 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6, I6_4 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5, I7_3 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5 & I6_4, I8_2 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5 & I6_4 & I7_3, I9_1 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5 & I6_4 & I7_3 & I8_2, I10 extends hono.Input = I_9 & I2_8 & I3_7 & I4_6 & I5_5 & I6_4 & I7_3 & I8_2 & I9_1, R_9 extends hono_types.HandlerResponse<any> = any>(handler1: hono_types.H<Env, any, I_9, R_9>, handler2: hono_types.H<Env, any, I2_8, R_9>, handler3: hono_types.H<Env, any, I3_7, R_9>, handler4: hono_types.H<Env, any, I4_6, R_9>, handler5: hono_types.H<Env, any, I5_5, R_9>, handler6: hono_types.H<Env, any, I6_4, R_9>, handler7: hono_types.H<Env, any, I7_3, R_9>, handler8: hono_types.H<Env, any, I8_2, R_9>, handler9: hono_types.H<Env, any, I9_1, R_9>, handler10: hono_types.H<Env, any, I10, R_9>): [hono_types.H<Env, any, I_9, R_9>, hono_types.H<Env, any, I2_8, R_9>, hono_types.H<Env, any, I3_7, R_9>, hono_types.H<Env, any, I4_6, R_9>, hono_types.H<Env, any, I5_5, R_9>, hono_types.H<Env, any, I6_4, R_9>, hono_types.H<Env, any, I7_3, R_9>, hono_types.H<Env, any, I8_2, R_9>, hono_types.H<Env, any, I9_1, R_9>, hono_types.H<Env, any, I10, R_9>]; | ||
}; | ||
@@ -18,0 +18,0 @@ declare const createHono: () => Hono<Env, hono_types.BlankSchema, "/">; |
/** JSX */ | ||
type CreateElement = (type: any, props: any, ...children: any[]) => Node | Promise<Node>; | ||
type CreateElement = (type: any, props: any) => Node | Promise<Node>; | ||
type Hydrate = (children: Node, parent: Element) => void | Promise<void>; | ||
export type { CreateElement, Hydrate }; |
@@ -5,2 +5,3 @@ import path from "path"; | ||
import { islandComponents } from "./island-components.js"; | ||
import { restartOnAddUnlink } from "./restart-on-add-unlink.js"; | ||
const defaultOptions = { | ||
@@ -29,2 +30,3 @@ islands: true, | ||
plugins.push(injectImportingIslands()); | ||
plugins.push(restartOnAddUnlink()); | ||
return [ | ||
@@ -31,0 +33,0 @@ { |
{ | ||
"name": "honox", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "dist/index.js", | ||
@@ -104,2 +104,5 @@ "type": "module", | ||
}, | ||
"peerDependencies": { | ||
"hono": ">=4.*" | ||
}, | ||
"devDependencies": { | ||
@@ -114,3 +117,3 @@ "@hono/eslint-config": "^0.0.4", | ||
"glob": "^10.3.10", | ||
"hono": "4.0.0-rc.4", | ||
"hono": "^4.0.1", | ||
"np": "7.7.0", | ||
@@ -117,0 +120,0 @@ "prettier": "^3.1.1", |
@@ -5,3 +5,3 @@ # HonoX | ||
**Note**: _HonoX is currently in a "beta stage". Breaking changes are introduced without following semantic versioning._ | ||
**Note**: _HonoX is currently in a "alpha stage". Breaking changes are introduced without following semantic versioning._ | ||
@@ -211,3 +211,3 @@ ## Features | ||
You can write a custom Not Found page in `_404.tx`. | ||
You can write a custom Not Found page in `_404.tsx`. | ||
@@ -227,6 +227,6 @@ ```tsx | ||
You can write a custom Error page in `_error.tx`. | ||
You can write a custom Error page in `_error.tsx`. | ||
```tsx | ||
// app/routes/_error.ts | ||
// app/routes/_error.tsx | ||
import { ErrorHandler } from 'hono' | ||
@@ -425,5 +425,5 @@ | ||
}, | ||
createElement: async (type: any, props: any, ...children: any[]) => { | ||
createElement: async (type: any, props: any) => { | ||
const { createElement } = await import('react') | ||
return createElement(type, props, ...children) | ||
return createElement(type, props) | ||
}, | ||
@@ -430,0 +430,0 @@ }) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59455
45
827
7