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

6 years ago

1.1.0

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago