Packages

redux

5.0.1 · 23 Dec 2023MIT62.6M / weekRepositoryHomepagenpmAtom feed

Your version

0.5.0

3 Jun 2015Where it was published

0.12.0 is the newest release of 0.5.x.

In short

1 changed

Release note

  • Store function names are no longer significant, but you have to pass an object with all your Stores to the root (or Root). Fixes #16

import { root } from 'redux';
import * as stores from './stores/index';

@root(stores)
export default class TodoApp {
import { root } from 'redux';
import * as stores from './stores/index';

export default class TodoApp {
  render() {
    return (
      <Root stores={stores}>