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

Avoid duplicate atom key warnings (finally) #122

Merged
merged 2 commits into from
Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 1 addition & 4 deletions examples/history-sync-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"lint-fix:prettier": "prettier \"{pages,src,styles}/**/*.{ts,tsx,css}\" --write",
"local-build": "yarn run local-copy && yarn run build",
"local-dev": "yarn run local-copy && yarn run dev",
"local-copy": "./package-copy.sh",
"postinstall": "patch-package"
"local-copy": "./package-copy.sh"
},
"dependencies": {
"next": "^12.2.2",
Expand All @@ -31,8 +30,6 @@
"@types/react-dom": "^18.0.6",
"eslint": "^8.19.0",
"eslint-config-next": "^12.2.2",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"typescript": "^4.7.4"
}
}
4 changes: 3 additions & 1 deletion examples/history-sync-json/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import '../styles/globals.css'
import { RecoilRoot } from 'recoil'
import { RecoilEnv, RecoilRoot } from 'recoil'
import { RecoilHistorySyncJSONNext } from 'recoil-sync-next'

import type { AppProps } from 'next/app'

RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false

function MyApp({ Component, pageProps }: AppProps) {
return (
<RecoilRoot>
Expand Down
13 changes: 0 additions & 13 deletions examples/history-sync-json/patches/recoil+0.7.5.patch

This file was deleted.

5 changes: 1 addition & 4 deletions examples/history-sync-transit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"lint-fix:prettier": "prettier \"{pages,src,styles}/**/*.{ts,tsx,css}\" --write",
"local-build": "yarn run local-copy && yarn run build",
"local-dev": "yarn run local-copy && yarn run dev",
"local-copy": "./package-copy.sh",
"postinstall": "patch-package"
"local-copy": "./package-copy.sh"
},
"dependencies": {
"next": "^12.2.2",
Expand All @@ -31,8 +30,6 @@
"@types/react-dom": "^18.0.6",
"eslint": "^8.19.0",
"eslint-config-next": "^12.2.2",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"typescript": "^4.7.4"
}
}
4 changes: 3 additions & 1 deletion examples/history-sync-transit/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import '../styles/globals.css'
import { RecoilRoot } from 'recoil'
import { RecoilEnv, RecoilRoot } from 'recoil'
import { RecoilHistorySyncTransitNext } from 'recoil-sync-next'

import type { AppProps } from 'next/app'
import { ViewState } from '../src/components/ViewStateForm'

RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false

function MyApp({ Component, pageProps }: AppProps) {
return (
<RecoilRoot>
Expand Down
13 changes: 0 additions & 13 deletions examples/history-sync-transit/patches/recoil+0.7.4.patch

This file was deleted.

5 changes: 1 addition & 4 deletions examples/react-hook-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"lint-fix:prettier": "prettier \"{pages,src,styles}/**/*.{ts,tsx,css}\" --write",
"local-build": "yarn run local-copy && yarn run build",
"local-dev": "yarn run local-copy && yarn run dev",
"local-copy": "./package-copy.sh",
"postinstall": "patch-package"
"local-copy": "./package-copy.sh"
},
"dependencies": {
"next": "^12.2.2",
Expand All @@ -32,8 +31,6 @@
"@types/react-dom": "^18.0.6",
"eslint": "^8.19.0",
"eslint-config-next": "^12.2.2",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"typescript": "^4.7.4"
}
}
4 changes: 3 additions & 1 deletion examples/react-hook-form/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import '../styles/globals.css'
import { RecoilRoot } from 'recoil'
import { RecoilEnv, RecoilRoot } from 'recoil'
import { RecoilHistorySyncJSONNext } from 'recoil-sync-next'

import type { AppProps } from 'next/app'

RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false

function MyApp({ Component, pageProps }: AppProps) {
return (
<RecoilRoot>
Expand Down
13 changes: 0 additions & 13 deletions examples/react-hook-form/patches/recoil+0.7.5.patch

This file was deleted.

5 changes: 1 addition & 4 deletions examples/url-sync-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"lint-fix:prettier": "prettier \"{pages,src,styles}/**/*.{ts,tsx,css}\" --write",
"local-build": "yarn run local-copy && yarn run build",
"local-dev": "yarn run local-copy && yarn run dev",
"local-copy": "./package-copy.sh",
"postinstall": "patch-package"
"local-copy": "./package-copy.sh"
},
"dependencies": {
"next": "^12.2.2",
Expand All @@ -31,8 +30,6 @@
"@types/react-dom": "^18.0.6",
"eslint": "^8.19.0",
"eslint-config-next": "^12.2.2",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"typescript": "^4.7.4"
}
}
4 changes: 3 additions & 1 deletion examples/url-sync-json/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import '../styles/globals.css'
import { RecoilRoot } from 'recoil'
import { RecoilEnv, RecoilRoot } from 'recoil'
import { RecoilURLSyncJSONNext } from 'recoil-sync-next'

import type { AppProps } from 'next/app'

RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false

function MyApp({ Component, pageProps }: AppProps) {
return (
<RecoilRoot>
Expand Down
13 changes: 0 additions & 13 deletions examples/url-sync-json/patches/recoil+0.7.4.patch

This file was deleted.

5 changes: 1 addition & 4 deletions examples/url-sync-transit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"lint-fix:prettier": "prettier \"{pages,src,styles}/**/*.{ts,tsx,css}\" --write",
"local-build": "yarn run local-copy && yarn run build",
"local-dev": "yarn run local-copy && yarn run dev",
"local-copy": "./package-copy.sh",
"postinstall": "patch-package"
"local-copy": "./package-copy.sh"
},
"dependencies": {
"next": "^12.2.2",
Expand All @@ -31,8 +30,6 @@
"@types/react-dom": "^18.0.6",
"eslint": "^8.19.0",
"eslint-config-next": "^12.2.2",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"typescript": "^4.7.4"
}
}
4 changes: 3 additions & 1 deletion examples/url-sync-transit/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import '../styles/globals.css'
import { RecoilRoot } from 'recoil'
import { RecoilEnv, RecoilRoot } from 'recoil'
import { RecoilURLSyncTransitNext } from 'recoil-sync-next'

import type { AppProps } from 'next/app'
import { ViewState } from '../src/components/ViewStateForm'

RecoilEnv.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED = false

function MyApp({ Component, pageProps }: AppProps) {
return (
<RecoilRoot>
Expand Down
13 changes: 0 additions & 13 deletions examples/url-sync-transit/patches/recoil+0.7.4.patch

This file was deleted.