1. 26 5月, 2020 7 次提交
    • J
      Add a few extra types (#13363) · 2e1a322d
      Jan Potoms 提交于
      Added a few extra types here and there while I was digging through the code
      2e1a322d
    • E
      [examples] with-ts-eslint-jest example app (#12025) · 268d3572
      Erik 提交于
      * set up with-ts-eslint-jest example app
      
      * eslint ignore new app bc it has a conflicting eslintrc
      
      * make eslint + husky setup manual
      
      * clarify app README setup notes
      
      * move page tests out of pages/ dir
      
      * Simplifying configs
      
      * extend "prettier"
      
      * format fix
      
      * Updated rules
      
      * Added husky configs and removed debug option
      
      * Removed notes and configuration
      
      * Updated pages
      
      * Added links to readme
      
      * Added example to .prettierignore
      
      * Updated snap
      
      * Make the lint work
      Co-authored-by: NLuis Alvarez D <luis@vercel.com>
      268d3572
    • T
      Refactor with redux persist example (#13338) · 5a5e6004
      TodorTotev 提交于
      Related to [11014](https://github.com/zeit/next.js/issues/11014)
      
      First and most important, removed the getInitialProps and used getStaticProps.
      
      Then, I refactored Counter, DataList and Examples components.
      I have refactored them from class-based components to functional. Also in each component the redux implementation was refactored using the new hooks API, which resulted in ~40% less code.
      
      If you want me to change anything or you are not satisfied with any given change, I'm open to suggestions.
      5a5e6004
    • G
      Update with-style-sheet example (#13323) · 73c8b8ca
      Giuseppe 提交于
      73c8b8ca
    • T
      Refactor with redux thunk example (#13336) · f3ea363d
      TodorTotev 提交于
      Related to [11014](https://github.com/zeit/next.js/issues/11014)
      
      1. I have changed the component from class to functional.
      2. I have removed the getInitialProps and used getStaticProps instead.
      3. I have removed the redundant connect to redux @ the index page, due to the fact that now we can dispatch the action with the required hook.
      
      If you want me to change anything or you are not satisfied with any given change, I'm open to suggestions.
      f3ea363d
    • T
      Refactor with redux saga (#13342) · cc4b0c7b
      TodorTotev 提交于
      Related to [11014](https://github.com/zeit/next.js/issues/11014)
      
      Upgraded all the packages from package.json, removed the saga-wrapper package since it is totally outdated to today's use.
      
      I have refactored the whole example using the new API of the next-redux-wrapper package, using their new support of "getStaticProps".
      
      All of the class components were converted to functional, using the new redux hooks API.
      
      If you want me to change anything or you are not satisfied with any given change, I'm open to suggestions.
      cc4b0c7b
    • A
      Update Amp dependencies (#13354) · 0dd818b7
      Ayhan 提交于
      0dd818b7
  2. 25 5月, 2020 4 次提交
  3. 24 5月, 2020 14 次提交
  4. 23 5月, 2020 15 次提交