1. 24 Oct, 2022 22 commits
  2. 23 Oct, 2022 12 commits
  3. 22 Oct, 2022 6 commits
    • Jiachi Liu's avatar
      Bundle ssr client layer excepts react externals (#41606) · b0f87fbc
      Jiachi Liu authored
      Bundle the ssr client layer for RSC, this solves the problem when
      there's an esm package is using on client components, but esm imports
      the installed react instead of the built-in react version since esm
      imports is not intercepted by require hook.
      
      After bundling the ssr client layer and treating react as externals, now
      react compiles as cjs externals and could be intercepted by require
      hook, other code are bundled together which can also get optimized.
      
      ## 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`
      - [x] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      Co-authored-by: 's avatarShu Ding <g@shud.in>
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      b0f87fbc
    • Shu Ding's avatar
      Add experimental warning note (#41666) · 73499e4b
      Shu Ding authored
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## 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.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      73499e4b
    • Jiachi Liu's avatar
      Improve errors for invalid component export (#41657) · 0b669a1f
      Jiachi Liu authored
      Checking if app dir exported components (page/layout/etc.) are valid components in dev mode, also update `react-is` to detect module reference properly
      Co-authored-by: 's avatarJJ Kasper <22380829+ijjk@users.noreply.github.com>
      0b669a1f
    • Balázs Orbán's avatar
      feat(cna): add template (#41660) · e0b04f22
      Balázs Orbán authored
      Adds a new template for `app/` via `--experimental-app` flag.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## 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.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      e0b04f22
    • JJ Kasper's avatar
      Update to handle correct react version with app (#41658) · 4ce259fa
      JJ Kasper authored
      Add auto install handling for the correct react experimental version for
      app
      4ce259fa
    • Donny/강동윤's avatar
      78138af5