Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update with-react-intl example #40999

Merged
merged 10 commits into from Sep 30, 2022
Merged

Conversation

HaNdTriX
Copy link
Contributor

@HaNdTriX HaNdTriX commented Sep 28, 2022

Changes

see commits

Additional Info

Since this example is quite complex I tried to remove additional noise (unused type inference).

Documentation / Examples

  • Make sure the linting passes by running pnpm lint
  • The "examples guidelines" are followed from our contributing doc

Related

Closes: #40975

- ReactChild is deprecated
- description should be a meta tag
- locales can be null
The Next.js pipline (eslint) runs on Node 16. Type assert should be used from Node.js >= 17 onwards.

If you want to know more about this check out the following discussion: eslint/eslint#15305
pnpm defaults to enable-pre-post-scripts=false leading to a broken example on the first run.
@ijjk ijjk merged commit cae96f2 into vercel:canary Sep 30, 2022
@HaNdTriX HaNdTriX deleted the examples/react-intl branch September 30, 2022 19:40
@HaNdTriX
Copy link
Contributor Author

🙏 Thanks @ijjk

BowlingX pushed a commit to BowlingX/next.js that referenced this pull request Oct 5, 2022
## Changes

see commits

## Additional Info

Since this example is quite complex I tried to remove additional noise
(unused type inference).

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)

## Related

Closes: vercel#40975
Kikobeats pushed a commit to Kikobeats/next.js that referenced this pull request Oct 24, 2022
## Changes

see commits

## Additional Info

Since this example is quite complex I tried to remove additional noise
(unused type inference).

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)

## Related

Closes: vercel#40975
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: with-react-intl update
2 participants