This website requires JavaScript.
Explore
Help
Sign In
archive
/
rsnext
Watch
1
Star
0
Fork
You've already forked rsnext
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
8f5f0ef141
rsnext
/
examples
/
with-jotai
/
next.config.js
4 lines
47 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Examples: Jotai (#27940) ## Documentation / Examples - [X] Make sure the linting passes This adds an example using Jotai with Next.js. It uses the new hook `useHydrateAtoms` to hydrate atoms with values from the server.
2021-08-14 06:06:49 +02:00
module
.
exports
=
{
reactStrictMode
:
true
,
chore(examples): use default prettier for examples/templates (#60530) ## Description This PR ensures that the default prettier config is used for examples and templates. This config is compatible with `prettier@3` as well (upgrading prettier is bigger change that can be a future PR). ## Changes - Updated `.prettierrc.json` in root with `"trailingComma": "es5"` (will be needed upgrading to prettier@3) - Added `examples/.prettierrc.json` with default config (this will change every example) - Added `packages/create-next-app/templates/.prettierrc.json` with default config (this will change every template) ## Related - Fixes #54402 - Closes #54409
2024-01-12 00:01:44 +01:00
}
;
Reference in a new issue
Copy permalink