🚀 page operation model (in memory) with LRU & lifecycle strategy.
- Docs
$ npm install llpage
- ⚙️ Support
keep-alive
in memory(LRU) - 🚀 High-Performance page operator with Doubly Linked List(DLL)
- 💗 Elegant api such as
open
/close
/closeAll
/refresh
/closeOthers
- 👀 reactive inside
- 📱 Support page lifecyle (sync/async)
import { createLLPageManager, createPage } from 'llpage'
const testPage = createPage({
data: {},
async onCreate() {
await xx()
}
async onStart() {
await xx()
}
})
const ll = createLLPageManager({
size: 10
})
////////// some page op //////////
ll.open(testPage)
ll.close(testPage)
ll.closeOthers(testPage)
ll.closeAll()
name | description | homepage |
---|---|---|
example | simple examples inside this repo | view |
name | description | homepage |
---|---|---|
Rice | 📦 out-of-box micro-frontends solution | view |
Thanks goes to these wonderful people (emoji key):
Archer (炽宇) 💻 🚇 🚧 🎨 📖 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!