# reshow-return

> reshow-return (simple connect component with reshow-flux)

Latest version **0.19.5** (published 2025-05-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install reshow-return
pnpm add reshow-return
yarn add reshow-return
bun add reshow-return
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.19.5 |
| Published | 2025-05-17 |
| First published | 2019-12-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 64.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Hill |
| Maintainers | hillliu |
| Keywords | state, global-state, state-management, flux, reducer, reshow-flux |

## Links

- npm: https://www.npmjs.com/package/reshow-return
- Repository: https://github.com/react-atomic/reshow
- Homepage: https://github.com/react-atomic/reshow/tree/main/packages/reshow-return
- Issues: https://github.com/react-atomic/reshow/issues
- npm.io page: https://npm.io/package/reshow-return

## Dependencies (9)

- [win-doc](https://npm.io/package/win-doc.md) *
- [call-func](https://npm.io/package/call-func.md) *
- [memoize-one](https://npm.io/package/memoize-one.md) *
- [reshow-flux](https://npm.io/package/reshow-flux.md) *
- [reshow-build](https://npm.io/package/reshow-build.md) *
- [reshow-hooks](https://npm.io/package/reshow-hooks.md) *
- [reshow-runtime](https://npm.io/package/reshow-runtime.md) *
- [reshow-constant](https://npm.io/package/reshow-constant.md) *
- [get-object-value](https://npm.io/package/get-object-value.md) >0.8.0

## Alternatives

- [@reckona/mreact-store](https://npm.io/package/@reckona/mreact-store.md) — 976 weekly downloads
- [regular-state](https://npm.io/package/regular-state.md) — 410 weekly downloads
- [@pacote/flux-actions](https://npm.io/package/@pacote/flux-actions.md) — 65 weekly downloads
- [@pilotlab/lux-debug](https://npm.io/package/@pilotlab/lux-debug.md) — 39 weekly downloads
- [vue-persist-state](https://npm.io/package/vue-persist-state.md) — 19 weekly downloads

## Recent versions

- 0.19.5 (latest) — 2025-05-17
- 0.17.0 (next) — 2022-04-03
- 0.19.4 — 2025-05-17
- 0.19.3 — 2025-05-17
- 0.19.2 — 2025-05-17
- 0.19.1 — 2025-05-16
- 0.19.0 — 2025-05-16
- 0.18.22 — 2025-04-05
- 0.18.1 — 2024-05-14
- 0.18.0 — 2024-03-18
- 0.17.48 — 2023-10-30
- 0.17.47 — 2023-10-30
- 0.17.46 — 2023-10-30
- 0.17.45 — 2023-10-30
- 0.17.44 — 2023-08-04
- … 89 more at https://npm.io/package/reshow-return/versions

## README

Reshow Return 
===============

* GIT
   * https://github.com/react-atomic/reshow/tree/main/packages/reshow-return
* NPM
   * https://www.npmjs.com/package/reshow-return

## How to use
```jsx
<Return
  store={/*subscribe store*/}
  initStates={["name1", "name2"]}
>
  {/*your code*/}
</Return>
```

## `usePartialRender`

Help u partial update component, don't need redesign a complex component structure.

```js
  import { usePartialRender } from "reshow-return";
  const list = {
    foo: <div className="foo" />,
    bar: <div className="bar" />
  };
  const [renderComponent, partialRender, setRenderKeys] = usePartialRender(
    Object.keys(list),
    list
  );

```
* [Codesandbox](https://codesandbox.io/s/react-partial-render-mo3yu2?file=/src/App.js)

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