1 Matching Annotations
- Nov 2022
-
news.ycombinator.com news.ycombinator.com
-
There are various ways to use it (declaratively, imperatively, etc.), but simplest way to explain is to imagine a "Load more" button that's really just a link like this:`<Link to="?page=2" state={{ data }} />`Your Remix loader would load page 2 from the url search param and your component would concat that onto `location.state.data` (the previous entries from the initial location). This renders the old data and the new data together.
Tags
Annotators
URL
-