2.1.2 • Published 2 years ago
@just-web/history v2.1.2
@just-web/history
@just-web/history provides history API for a @just-web applications.
Install
# npm
npm install @just-web/history
# yarn
yarn add @just-web/history
# pnpm
pnpm install @just-web/history
#rush
rush add -p @just-web/history
Usage
import { justApp } from '@just-web/app'
import { historyGizmoFn } from '@just-web/history'
const app = await justApp({ name: 'your-awesome-app' })
.with(historyGizmoFn())
.create()
app.history...
You can also provide a custom history instance:
import { justApp } from '@just-web/app'
import { historyGizmoFn } from '@just-web/history'
import { createMemoryHistory } from 'history'
const app = await justApp({ name: 'your-awesome-app' })
.with(historyGizmoFn({ history:createMemoryHistory() }))
.create()
2.1.2
2 years ago
2.0.3
2 years ago
2.1.1
2 years ago
2.0.2
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.7
2 years ago
2.0.6
2 years ago
2.0.9
2 years ago
2.0.8
2 years ago
2.1.0
2 years ago
1.0.1
2 years ago
2.0.0-beta.2
2 years ago
2.0.0-beta.1
2 years ago
2.0.0-beta.0
2 years ago
2.0.0-beta.5
2 years ago
2.0.1
2 years ago
2.0.0-beta.4
2 years ago
2.0.0
2 years ago
2.0.0-beta.3
2 years ago
1.0.0
3 years ago