# react-router-screen-id

> Base project for creating distributable React components

Latest version **0.0.2** (published 2018-12-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-router-screen-id
pnpm add react-router-screen-id
yarn add react-router-screen-id
bun add react-router-screen-id
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-12-14 |
| First published | 2018-12-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 29.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alasdair McLeay |
| Maintainers | penx |
| Keywords | Base, React, Component |

## Links

- npm: https://www.npmjs.com/package/react-router-screen-id
- Repository: https://github.com/penx/base-react-component
- Homepage: https://github.com/penx/base-react-component#readme
- Issues: https://github.com/penx/base-react-component/issues
- npm.io page: https://npm.io/package/react-router-screen-id

## Dependencies (1)

- [uuid](https://npm.io/package/uuid.md) ^3.3.2

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2018-12-14
- 0.0.1 — 2018-12-14

## README

[![Greenkeeper badge](https://badges.greenkeeper.io/penx/react-router-screen-id.svg)](https://greenkeeper.io/)

A proof of concept that introduces the concept of a 'screen id' in React, when using React Router.

A "screen id" is a unique identifier that is:
- generated when a user navigates to a new route
- stays the same while the user stays on the same route

This library will offer the following functionality:
- made available to child components via the context api
- works in universal applications where the screen id is initially generated on the server and then made available to the client
- ability to manually create a new screen id for the current route

---
_Source: https://npm.io/package/react-router-screen-id · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
