Attachment templates can potentially build a lot of dom that may not be necessary if the user navigates far away from them.
They should be removed from the dom at a certain distance and can be re-built if the user goes back.
Alternatives Considered
Leave them in the dom.
It's okay to leave them but it keeps lots of un-needed dom in the document, which may slow down the experience.
Additional Context
Distance can be read using a pattern used in panning-media
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
Description
Attachment templates can potentially build a lot of dom that may not be necessary if the user navigates far away from them. They should be removed from the dom at a certain distance and can be re-built if the user goes back.
Alternatives Considered
Leave them in the dom. It's okay to leave them but it keeps lots of un-needed dom in the document, which may slow down the experience.
Additional Context
Distance can be read using a pattern used in panning-media