I need a function like
javascript's setInterval()?
Do you know where it is?
I read the pynecone's official document.
https://pynecone.app/docs/getting-started/introduction
I still cannot find any function like setInterval() in JS.
I also visit pynecone's gallery here.
https://pynecone.app/docs/gallery
There is a clock example.
https://clock.pynecone.app
I'm still trying to find out the solution.
I would appreciate it if you would help me.
The code can let you do something like setInterval()
1. Setup pynecone 0.1.20 by the following command line.
2. The sample code here and this is the demo video
pynecone==0.1.20 is okay for this code.
pynecone==0.1.21 is not okay (there is some issue).
(Today is 2023/04/04 when I post)
We can wait for the core team to solve it.
So I suggest using pynecone==0.1.20 if you want
to do something like JavaScript's setInterval()
Updating
The new commit code, Apr 9, 2023, has solved this issue.
The next released code pynecone==0.1.22 will work well.