๐ 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!