Socket
Socket
Sign inDemoInstall

reshow-return

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reshow-return

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


Version published
Weekly downloads
248
decreased by-11.43%
Maintainers
1
Weekly downloads
 
Created
Source

Reshow Return

  • GIT
    • https://github.com/react-atomic/reshow/tree/main/packages/reshow-return
  • NPM

How to use

<Return
  store={/*subscribe store*/}
  initStates={["name1", "name2"]}
>
  {/*your code*/}
</Return>

usePartialRender

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

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

Keywords

FAQs

Package last updated on 14 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc