-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSR TypeError: Cannot read properties of null (reading 'useState') #549
Comments
try to execute |
It fixed the generated template. Now when I try to add this code it breaks again with
import { useEffect, useState } from "react"
// ...
const [c, setC] = useState(0)
useEffect(() => {
const i = setInterval(() => {
setC(c + 1);
}, 500)
return () => clearInterval(i)
}, []) |
please change |
ea32ee2 fixed this cache issue |
mmm, I updated that import but still. |
where you got the message? is devtools console? |
... I had to |
I'm trying to use
deno task start
but it's failing.Steps:
deno run -A -r https://alephjs.org/init.ts
deno task start
The text was updated successfully, but these errors were encountered: