git404hub

what is redux-react-hook fr?

gaearon/redux-react-hook — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2019-02-05

24TypeScriptAudience · developerComplexity · 2/5DormantSetup · easy

tl;dr

A library of React hooks that let components read data from a Redux store and dispatch actions without the usual connect() boilerplate.

vibe map

mindmap
  root((repo))
    What it does
      Read store data
      Dispatch actions
      Auto re-render
      Skip boilerplate
    Tech stack
      TypeScript
      React
      Redux
    Use cases
      Data display components
      Action buttons
      Store-connected widgets
    Audience
      React developers
      Redux users
    Setup
      Wrap app in provider
      Memoize selectors
    Caveats
      Experimental status
      useCallback required

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Display a piece of Redux store data in a component and auto-update it when that data changes.

VIBE 2

Dispatch a Redux action from a component, such as clicking a delete button.

VIBE 3

Replace react-redux's connect() pattern with lightweight hooks in new components.

what's the stack?

TypeScriptReactRedux

how it stacks up fr

gaearon/redux-react-hookcschanhniem/clawpingcub3y0nd/entropic
Stars242424
LanguageTypeScriptTypeScriptTypeScript
Last pushed2019-02-05
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity2/53/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 30min

Selector functions must be memoized with useCallback to avoid infinite re-render loops.

prompts (copy fr)

prompt 1
Show me how to use redux-react-hook to read a value from my Redux store inside a functional component.
prompt 2
Write a delete button component using redux-react-hook that dispatches a delete action on click.
prompt 3
Explain how to memoize a selector function with useCallback so redux-react-hook doesn't cause infinite re-renders.
prompt 4
Compare redux-react-hook to react-redux and tell me when I should use each one.

Frequently asked questions

what is redux-react-hook fr?

A library of React hooks that let components read data from a Redux store and dispatch actions without the usual connect() boilerplate.

What language is redux-react-hook written in?

Mainly TypeScript. The stack also includes TypeScript, React, Redux.

Is redux-react-hook actively maintained?

Dormant — no commits in 2+ years (last push 2019-02-05).

How hard is redux-react-hook to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is redux-react-hook for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.