Example not working
kethan opened this issue · comments
Hi, I tried both examples for superfine and sinuous. useState seems to not work.
Yes, I get a Unhandled Rejection (TypeError)
when I click on the button.
Try the official examples, & use only 1 tenderer per demo.
thanks for the report @kethan @tomByrer
strange that https://swiss.netlify.com/fixtures/renderers/superfine/ works.
it's nearly identical.
just noting Sinuous will never work with hooks. it's a truly reactive system which does 1 initial render and then it updates element content and properties directly in the place where they are defined in the view.
it doesn't really have a render function so the hooks cannot initiate a render.
this is done by Sinuous's observables.
Yes, I get a
Unhandled Rejection (TypeError)
when I click on the button.Try the official examples, & use only 1 tenderer per demo.
I have two different renderers? Is that a problem?
just noting Sinuous will never work with hooks. it's a truly reactive system which does 1 initial render and then it updates element content and properties directly in the place where they are defined in the view.
it doesn't really have a render function so the hooks cannot initiate a render.
this is done by Sinuous's observables.
Ok I understood Sinuous what about superfine?
can anybody help me I am not able to make it work with superfine 6.0 and superfine 7.0?