Open History to see the last commit
1import { render } from 'solid-js/web'
2import { TanStackDevtools } from '@tanstack/solid-devtools'
3β
4function DemoPlugin() {
5 return <div data-testid="demo-plugin">demo plugin content</div>
6}
7β
8function App() {
9 return (
10 <>
11 <h1>solid e2e</h1>
12 <TanStackDevtools
13 plugins={[
14 {
15 name: 'Demo',
16 render: <DemoPlugin />,
17 },
18 ]}
19 />
20 </>
21 )
22}
23β
24render(() => <App />, document.getElementById('root')!)