1. 28 May, 2020 2 commits
  2. 27 May, 2020 21 commits
  3. 26 May, 2020 13 commits
  4. 25 May, 2020 4 commits
    • Daniel Paz's avatar
      Update Monaco Editor Example (#13369) · 599d6f71
      Daniel Paz authored
      Changed the URLs inside the Monaco Editor Example: https://github.com/zeit/next.js/tree/canary/examples/with-monaco-editor
      
      Converted the worker URL to start with the base URL.
      
      The reason is if you use the Monaco example anywhere but in the main `pages` folder, it won't work since it uses a relative URL instead.
      
      For example if we'll move the code to `pages/room/index.js` it won't work since it will try to search for the files inside `room/_next/_static/` instead of `_next/_static/`.
      
      The base URL I added fixes the problem.
      599d6f71
    • Jan Potoms's avatar
      Add a few extra types (#13363) · 2e1a322d
      Jan Potoms authored
      Added a few extra types here and there while I was digging through the code
      2e1a322d
    • Erik's avatar
      [examples] with-ts-eslint-jest example app (#12025) · 268d3572
      Erik authored
      * 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: 's avatarLuis Alvarez D <luis@vercel.com>
      268d3572
    • TodorTotev's avatar
      Refactor with redux persist example (#13338) · 5a5e6004
      TodorTotev authored
      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