Hello, I'm trying to use Child Pages for a list of pages that gets updated over time. Is this possible, or is it currently intended for static page lists and only passed into
initialPages
?
Lev Teytelman
01/11/2024, 6:12 AM
My goal is to use this for infinite scrolling, which is why I want to add items over time. Maybe that's not what the navigation model is intended for?
a
Arkadii Ivanov
01/11/2024, 8:59 AM
This is supported, you can add/remove/replace pages dynamically.
l
Lev Teytelman
01/11/2024, 3:30 PM
How can I access the list/those operations? That's what I'm confused about and haven't found documentation for.
a
Arkadii Ivanov
01/11/2024, 4:13 PM
Please see the docs. Basically, you can add pages as follows: