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

Created on 7 May 2021  路  4Comments  路  Source: bikeshaving/crank

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.

bug

All 4 comments

That doesn鈥檛 look right! I鈥檒l look into it. Thanks for reporting.

50% figured out what causes this but the fix is likely a little bit more involved. https://github.com/bikeshaving/crank/issues/155 could likely be solved as well if I鈥檓 working on this.

Hopefully fixed in 0.3.11

Looking good so far, thanks!

Was this page helpful?
0 / 5 - 0 ratings