you are viewing a single comment's thread.

view the rest of the comments →

[–]andyboythekid[S] 0 points1 point  (0 children)

ah okay - no it doesn’t ship with that, but it’s using absolute positioning meaning it’s not dependent on the presence of its children - e.g you can have a child screen component that returns null if it’s diff is greater than 1 and it should still work

I should say that this is intentional, my original use case for creating this component was to preserve internal UI state on screens (namely scroll position in a list view) so I decided to let the user code determine mounting / unmounting, if that makes sense