Closed anothertempore closed 6 years ago
At update.md, I think the parameter of instantiateComponent() is Element not Component, so I fixed it.
update.md
instantiateComponent()
const nextRenderedComponent = instantiateComponent(nextRenderedComponent)
and shouldUpdateComponent():
shouldUpdateComponent()
if (shouldUpdateComponent(prevRenderedComponent, nextRenderedComponent)) { }
Nice catch! Thanks for the fix.
At
update.md
, I think the parameter ofinstantiateComponent()
is Element not Component, so I fixed it.and
shouldUpdateComponent()
: