1. 01 6月, 2020 3 次提交
    • M
      Fix examples using __NEXT_DATA__ (#13567) · f8f308d6
      Martin Bavio 提交于
      This PR fixes https://github.com/vercel/next.js/issues/4883.
      
      It introduces a new global variable (`window.__REHYDRATE_IDS`) only when necessary.
      
      In the case of the `with-react-with-styles` example, rehydration isn't happening, so I removed the creation of the variable. 
      
      In the case of the `with-react-intl` example, the information doesn't seem to be set anymore on `__NEXT_DATA__`, so I just removed the default reference to it.
      f8f308d6
    • J
      Update browserslist/caniuse-lite (#13605) · f6975740
      Jan Potoms 提交于
      Looks like `caniuse-lite` is out of date and causing test failures. 
      - I upgraded both `browserslist` and `caniuse-lite` to latest semver compatible version.
      - This seemed to cause changes in ncc compiled files, so recompiled.
      - `lint-staged` failed on these files even though they should be ignored. As a fix, I applied the advice from https://github.com/okonet/lint-staged#how-can-i-ignore-files-from-eslintignore-
      - Updated some test snapshots. 🤔 not sure this is the way to go
      f6975740
    • T
      Enhance with redux thunk example (#13576) · 11597655
      Todor Totev 提交于
      * Refactored the store so that it doesnt use getInitialProps
      
      * Applied the changes in the _app file
      
      * Refactored the wrapper so that it uses the new store flow
      
      * Removed the old redux syntax
      
      Instead of passing the state from the parent component, I have used the new redux hooks to retrieve the current state.
      
      * The clock no longer requires state to be passed too
      
      * Updated the variable names
      
      * forgot to bring back hot reloading
      
      * Applied requested change.
      11597655
  2. 31 5月, 2020 4 次提交
  3. 30 5月, 2020 3 次提交
  4. 29 5月, 2020 16 次提交
  5. 28 5月, 2020 14 次提交