1.1.5 โ€ข Published 6 years ago

llpage v1.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
6 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

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.29

7 years ago

1.0.28

7 years ago

1.0.27

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.24

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago