• Philosophy
  • Features
  • Quickstart
  • Documentation
  • Core Libraries
  • React
  • React Router
  • Redux
  • Webpack
  • Project
  • Anatomy
  • Building
  • Publishing
  • Concepts
  • Actions
  • Connect
  • Reducers
  • lore-models
  • Models
  • Collections
  • sync
  • Examples
  • Videos
  • Architecture
  • Hooks
  • Introduction
  • Tutorial
  • Creating Custom Hooks
  • Core Hooks
  • lore-hook-actions
  • lore-hook-auth
  • lore-hook-bind-actions
  • lore-hook-collections
  • lore-hook-connect
  • lore-hook-connections
  • lore-hook-models
  • lore-hook-react
  • lore-hook-reducers
  • lore-hook-redux
  • lore-hook-router
  • Other Hooks
  • lore-hook-polling
  • lore-hook-websockets
  • lore-hook-websockets-actioncable
  • lore-hook-websockets-sails
  • lore-hook-websockets-socketio
  • CLI
  • Introduction
  • Tutorial
  • Creating Custom Commands
  • Core Commands
  • lore-extract-action
  • lore-extract-reducer
  • lore-generate-action
  • lore-generate-collection
  • lore-generate-component
  • lore-generate-model
  • lore-generate-new
  • lore-generate-reducer
  • Other Commands
  • lore-generate-generator
  • lore-generate-hook
  • Forms
  • Introduction
  • Pattern Construction
  • Tutorial
  • Component Libraries
  • Bootstrap v3
  • Material UI
  • Links
  • GitHub
Lore
  • Philosophy
  • Features
  • Quickstart
  • Documentation
    • Core Libraries
    • React
    • React Router
    • Redux
    • Webpack
    • Project
    • Anatomy
    • Building
    • Publishing
    • Concepts
    • Actions
    • Connect
    • Reducers
    • lore-models
    • Models
    • Collections
    • sync
    • Examples
    • Videos
    • Architecture
  • Hooks
    • Introduction
    • Tutorial
    • Creating Custom Hooks
    • Core Hooks
    • lore-hook-actions
    • lore-hook-auth
    • lore-hook-bind-actions
    • lore-hook-collections
    • lore-hook-connect
    • lore-hook-connections
    • lore-hook-models
    • lore-hook-react
    • lore-hook-reducers
    • lore-hook-redux
    • lore-hook-router
    • Other Hooks
    • lore-hook-polling
    • lore-hook-websockets
    • lore-hook-websockets-actioncable
    • lore-hook-websockets-sails
    • lore-hook-websockets-socketio
  • CLI
    • Introduction
    • Tutorial
    • Creating Custom Commands
    • Core Commands
    • lore-extract-action
    • lore-extract-reducer
    • lore-generate-action
    • lore-generate-collection
    • lore-generate-component
    • lore-generate-model
    • lore-generate-new
    • lore-generate-reducer
    • Other Commands
    • lore-generate-generator
    • lore-generate-hook
  • Forms
    • Introduction
    • Pattern Construction
    • Tutorial
    • Component Libraries
    • Bootstrap v3
    • Material UI

lore-hook-reducers

Creates a set of reducers for each model from blueprints

  • Introduction
  • Dependencies
  • Installation
  • Code
  • config
  • dependencies
  • nextState

Code

The source code for this hook can be found here.

About
  • Lore is a convention-driven framework for React, built with love by @_jchansen and @mikrofusion, to help you launch your ideas sooner and scale them into legend.
Links
  • Philosophy
  • Features
  • Quickstart
  • Examples
  • CLI
Connect
  • GitHub
  • Twitter