1. 01 Jul, 2021 13 commits
  2. 30 Jun, 2021 10 commits
  3. 29 Jun, 2021 5 commits
    • Gerald Monaco's avatar
      Simplify `next-dev-server` implementation (#26230) · 9ab916ac
      Gerald Monaco authored
      `next-dev-server` having its own implementations of `renderToHTML` and `renderErrorToHTML` has historically made reasoning about streaming hard, as it adds additional places where status codes are explicitly set and the full HTML is blocked on.
      
      Instead, this PR simplifies things considerably by moving the majority of the custom logic for e.g. hot reloading and on-demand compilation to when we're resolving the page to be loaded, rather than upfront when handling the request. It also cleans up a few other details (e.g. default error page rendering) that managed to creep into the base implementation over time.
      
      One unfortunate side effect is that this makes compilation errors slightly more difficult. Previously, we'd render them directly. Now, we have to rethrow them. But since they've already been logged (by the watch pipeline), we have to make sure they don't get logged again.
      9ab916ac
    • Soham Shah's avatar
      update with-redux-toolkit-typescript (#26714) · 46a85b4e
      Soham Shah authored
      
      
      ## Bug
      
      - [X] Related issues linked using `fixes #26713 `
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      
      ## Documentation / Examples
      
      - [X] Make sure the linting passes
      
      ## Screenshots
      
      After this small change the warning disappears.
      ![image](https://user-images.githubusercontent.com/47717492/123749377-fd56fb80-d8d2-11eb-8b70-dbb7f6f16050.png)
      46a85b4e
    • Houssein Djirdeh's avatar
      [ESLint] Adds --max-warnings flag to `next lint` (#26697) · 15afd977
      Houssein Djirdeh authored
      Adds `--max-warnings` flag to `next lint` to enable setting of a maximum warning threshold.
      
      Fixes #26671
      15afd977
    • hiro's avatar
      Fix typo on "occured" to "occurred" (#26709) · 956bc2f3
      hiro authored
      * fix: typo occured -> occurred
      
      * fix: typo occured -> occurred
      
      * fix: typo occured -> occurred
      
      * fix: typo occured -> occurred
      
      * lint-fix
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      956bc2f3
    • Lee Robinson's avatar
      Update layouts example to persist state across client-side transitions. (#26706) · 1dd6eeb5
      Lee Robinson authored
      * Update layouts example
      
      * Update examples/layout-component/components/layout.js
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      
      1dd6eeb5
  4. 28 Jun, 2021 6 commits
  5. 25 Jun, 2021 6 commits