https://github.com/webreflection/document-persistent-fragment
A WHATWG Proposal
https://github.com/webreflection/document-persistent-fragment
Last synced: over 1 year ago
JSON representation
A WHATWG Proposal
- Host: GitHub
- URL: https://github.com/webreflection/document-persistent-fragment
- Owner: WebReflection
- Created: 2019-03-11T13:21:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-11T15:07:35.000Z (over 7 years ago)
- Last Synced: 2024-12-24T03:11:55.719Z (over 1 year ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 21
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DocumentPersistentFragment
- - -
## ⚠️ Deprecated
Current [discussion](https://github.com/whatwg/dom/issues/736#issuecomment-2764636514) is pivoting toward this [GroupNodes](https://github.com/WebReflection/group-nodes#readme) variant/alternative which looks and feels way easier to reason about and implement, it's just a "*special fragment*" weakly bound to its surrounding comments.
- - -
Currently a polyfill for the [WHATWG proposal](https://github.com/whatwg/dom/issues/736).
[Live test](https://webreflection.github.io/document-persistent-fragment/) with 100% code coverage and a global `dpf` usable at the end of the test.
### Warning
This is most likely going to change, don't use this in prod.