8000 GitHub - jeffbcross/cacherender: A proof of concept to preserve and reinsert pre-rendered Angular components
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jeffbcross/cacherender

Repository files navigation

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:

  1. git clone, npm install, then:
  2. npm run dev:ssr
  3. Open http://localhost:4200
  4. Open devtools and manipulate the cached element in the private cache: window.__preservedElementsMap__.hello.textContent += ' MOAR TEXT!';
  5. You should see your text appear on the screen

Image

About

A proof of concept to preserve and reinsert pre-rendered Angular components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0