From 7d4049c1899f891901719a64ce37924a6f797f00 Mon Sep 17 00:00:00 2001 From: Peter T Bosse II Date: Mon, 7 Mar 2022 19:51:25 -0500 Subject: [PATCH] Update index.jsx According to https://www.solidjs.com/guides/rendering#entry > The first argument needs to be a function. Otherwise we can't properly track and schedule the reactive system. This simple ommission will cause your Effects not to run. --- js/src/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/index.jsx b/js/src/index.jsx index 259d1c9..27c0e53 100644 --- a/js/src/index.jsx +++ b/js/src/index.jsx @@ -4,4 +4,4 @@ import { render } from 'solid-js/web'; import './index.css'; import App from './App'; -render(App, document.getElementById('root')); +render(() => , document.getElementById('root'));