1. 31 10月, 2019 1 次提交
  2. 02 10月, 2019 1 次提交
    • H
      Simplify with-redux example (#8875) · b5da739f
      Henrik Wenz 提交于
      ## Changes
      
      - [x] Remove _app.js usage
      - [x] Migrate withRedux HOC to functional component
      - [x] Add correct display name
      - [x] Remove abstractions/boilerplate from example
      - [x] Add useInterval HOC from Dan
      b5da739f
  3. 22 8月, 2019 1 次提交
  4. 28 3月, 2019 1 次提交
  5. 15 3月, 2019 1 次提交
  6. 18 12月, 2018 1 次提交
  7. 15 5月, 2018 1 次提交
    • Y
      Improve with-redux example (#4377) · 3db3f4b4
      yhirano55 提交于
      It's better that Counter behave not only `increment (add)` but also `decrement` or `reset`.
      
      * Add decrement, reset handlers and rename add handler in `components/counter.js`
      * Add increment, decrement, reset actions to `store.js`
      * Rename page component class name: Counter => Index in `pages/index.js`
      * Remove needless dispatch count event on getInitialProps in `pages/index.js`
      * Format JSX to be readable in `pages/_app.js`
      * Remove needless line from `components/examples.js`
      * Remove needless spaces in `lib/with-redux-store.js`
      3db3f4b4
  8. 07 5月, 2018 1 次提交