What is this?
See the element-preserver README to learn what this is, and try it out in your own project.
Demo
See the demo in action:
- git clone, npm install, then:
npm run dev:ssr
- Open http://localhost:4200
- Open devtools and manipulate the cached element in the private cache:
window.__preservedElementsMap__.hello.textContent += ' MOAR TEXT!';
- You should see your text appear on the screen