1.1.5 โ€ข Published 5 years ago

llpage v1.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

๐Ÿš€ page operation model (in memory) with LRU & lifecycle strategy.

All Contributors Travis (.org) branch Coverage Status npm Known Vulnerabilities

Install

$ npm install llpage

Feature

  • โš™๏ธ 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)

Example

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()

Real-World Example

namedescriptionhomepage
examplesimple examples inside this repoview

Awesome list

namedescriptionhomepage
rice๐Ÿšงmicro-frontends framework based on llpage & reactview

Contributors

Thanks goes to these wonderful people (emoji key):

Archer (็‚ฝๅฎ‡)๐Ÿ’ป ๐Ÿš‡ ๐Ÿšง ๐ŸŽจ ๐Ÿ“–

This project follows the all-contributors specification. Contributions of any kind welcome!

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.29

5 years ago

1.0.28

5 years ago

1.0.27

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago