bikeshaving / crank

The Just JavaScript Framework

Home Page:https://crank.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scheduled refresh doesn't kick in when directly rendering parent with children

GormanFletcher opened this issue · comments

Reproduction

If a generator component yields an initial element, and schedules a refresh that yields another component, the second component's view is never displayed.

This only reproduces if <Parent> is the directly rendered element. If it's wrapped in a native tag (e.g., <p>), the render happens fine.

That doesn’t look right! I’ll look into it. Thanks for reporting.

50% figured out what causes this but the fix is likely a little bit more involved. #155 could likely be solved as well if I’m working on this.

Hopefully fixed in 0.3.11

Looking good so far, thanks!