# @viral98/react-state-sync

> The main goal of this project is to explore a possibility of a combined state management utility to eliminate the need for server-side state storage and client side state storage.

Latest version **0.1.995** (published 2022-12-24) · 0 weekly downloads

## Install

```sh
npm install @viral98/react-state-sync
pnpm add @viral98/react-state-sync
yarn add @viral98/react-state-sync
bun add @viral98/react-state-sync
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.995 |
| Published | 2022-12-24 |
| First published | 2022-11-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Unpacked size | 67 KB |
| Known vulnerabilities | 0 (+16 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Viral Tagdiwala |
| Maintainers | viral98, parth9199 |

## Links

- npm: https://www.npmjs.com/package/@viral98/react-state-sync
- Repository: https://github.com/viral98/react-state-sync
- Homepage: https://github.com/viral98/react-state-sync#readme
- Issues: https://github.com/viral98/react-state-sync/issues
- npm.io page: https://npm.io/package/@viral98/react-state-sync

## Dependencies (11)

- [qs](https://npm.io/package/qs.md) ^6.11.0
- [md5](https://npm.io/package/md5.md) ^2.3.0
- [next](https://npm.io/package/next.md) 12.2.5
- [axios](https://npm.io/package/axios.md) ^1.2.1
- [react](https://npm.io/package/react.md) 18.2.0
- [loadash](https://npm.io/package/loadash.md) ^1.0.0
- [prettier](https://npm.io/package/prettier.md) ^2.7.1
- [react-dom](https://npm.io/package/react-dom.md) 18.2.0
- [@types/md5](https://npm.io/package/@types/md5.md) ^2.3.2
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.5.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.39.0

## Recent versions

- 0.1.995 (latest) — 2022-12-24
- 0.1.993 — 2022-12-24
- 0.1.992 — 2022-12-12
- 0.1.991 — 2022-12-09
- 0.1.99 — 2022-12-09
- 0.1.98 — 2022-12-09
- 0.1.97 — 2022-12-09
- 0.1.96 — 2022-12-09
- 0.1.95 — 2022-12-09
- 0.1.94 — 2022-11-28
- 0.1.93 — 2022-11-28
- 0.1.92 — 2022-11-17
- 0.1.91 — 2022-11-17
- 0.1.9 — 2022-11-16
- 0.1.8 — 2022-11-15
- … 8 more at https://npm.io/package/@viral98/react-state-sync/versions

## README

# React State Sync

The main goal of this project is to explore a possibility of a combined state management utility to eliminate the need for server-side state storage and client side state storage.

It also aims on elimination of writing boiler plate code by the developers to keep both state storage in sync. Our goal is to provide the upsides of a server state cache i.e. preventing repeated queries being sent to the server as long as the cached data is within the state time limits.

In addition to that also bring in the upsides of a client side state management frame- work, revolving majorly around cleaner code and increased rendering performance

# Getting Started

## Installation

`npm i @viral98/react-state-sync`

`yarn add @viral98/react-state-sync`

## Modify your next.config.js

```
const withPlugins = require('next-compose-plugins');
const withTM = require('next-transpile-modules')(['@viral98/react-state-sync']);

module.exports = withPlugins([withTM], {
  reactStrictMode: true,
  swcMinify: true,
});
```

---
_Source: https://npm.io/package/@viral98/react-state-sync · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
