William RICHER
William RICHER
i am using the builtin render, the root component is Component @lxsmnsyc
what are the requirement to follow to have them working? @lxsmnsyc
can you help me @lxsmnsyc ? Basically, glob is doing this: ```typescript globalThis.allComponents = import.meta.glob('/javascripts/components/**/*.{jsx,tsx,js,ts}', {eager: true}); ``` ```typescript // code produced by vite import * as __glob__0_0 from './components/Home.tsx'...
it's hello, not home on my code: ```typescript import { createSignal } from "solid-js"; export default function Hello() { const [count, setCount] = createSignal(0); return ( setCount(count() + 1)}>count: {count()}...
when this code is used inside another component, it's hot reloaded like expected.
another simple reproduction form me: components/Hello.tsx ```typescript import { createSignal } from "solid-js"; import Sub from "./Sub"; export default function Hello() { const [count, setCount] = createSignal(0); return ( setCount(count()...
nothing changind
vite is trying to hot reload, i receive something on network, but nothing happen in frontend. idk if it's changing anything, but render is called inside a custom element, on...
that's why i'm using "this" as root element
i succeeded to make hot reloading working using this workaround: components/Root.tsx ```typescript interface RootProps { Component: any; props: Record;} export default function Root({Component, props}: RootProps) { return ; } ```...