Skip to content

Commit

Permalink
Merge branch 'canary' into fix/load-musl-binding
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Nov 1, 2021
2 parents 996cde0 + 4ac0227 commit bc34242
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ jobs:
sudo apt-get install gcc-aarch64-linux-gnu -y
- name: Cache native binary
if: ${{ steps.binary-cache.outputs.cache-hit != 'true' && steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }}
id: binary-cache
uses: actions/cache@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion docs/advanced-features/react-18.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = {
}
```

Next, you need to customize your `pages/_document` component to be a functional component by removing any static methods like `getInitialProps` or exports like `getServerSideProps`
Next, if you already have customized `pages/_document` component, you need to remove the `getInitialProps` static method and the `getServerSideProps` export if there’s any, otherwise it won't work with server components. If no custom Document component is provided, Next.js will fallback to a default one like below.

```jsx
// pages/_document.js
Expand Down Expand Up @@ -142,6 +142,7 @@ To see a full example, check out [link to the demo and repository](https://githu
While RSC and SSR streaming is still in the alpha stage, not all Next.js APIs are supported. The following Next.js APIs have limited functionality inside Server Components:

- React internals: Most of React hooks such as `useContext`, `useState`, `useReducer`, `useEffect` and `useLayoutEffect` are not supported as of today since Server Components are executed per requests and aren't stateful.
- `next/head`
- Partial: Note that Inside `.client.js` components `useRouter` is supported
- Styled JSX
- CSS Modules
Expand Down
2 changes: 1 addition & 1 deletion examples/with-elasticsearch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

If you want to learn more about Elasticsearch, visit the following pages:

- [Elastic Stack](https://https://www.elastic.co/products)
- [Elastic Stack](https://www.elastic.co/products)
- [Elastic Documentation](https://elastic.co/docs)

## Deploy your own
Expand Down

0 comments on commit bc34242

Please sign in to comment.