Skip to content

Draft: Use Suspense inside ResultsView

Eric Gardner requested to merge suspense into main

Moves logic out of the ResultsView component and into a new LinkList component which uses an async/await setup method.

This allows the entire component to be wrapped inside a component (a Vue.js built-in feature); the content won't render until the async setup method is complete.

This is an experiment to see if using Suspense allows for clearer code and easier management of pending states, API requests, etc.

Merge request reports