Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

roomkey/preact-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preact-link

navigate to localhost:8000/preact.html or localhost:8000/react.html

the error has to do with preact "reusing" the

nodes at the same level, which when message is set, getting to the second div, to render link-1 it reuses former link-2.

I would have expected that the component instance would not be bound to that vdom, but it seems preact gets confused and the state for the intance of that vdom for link-2 is assumed which is wrong.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published