declarativ
declarativ copied to clipboard
Loading/error states in components
The idea here is to have different components that can be exchanged throughout different stages of the rendering process. A "loading" state would be given a custom ID and rendered before the component's children in place of the <template>
placeholder, and an "error" state would be used if any errors are thrown in the render process.