Skip to content

Commit

Permalink
RSC: Use throw-on-client package (#10212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Mar 12, 2024
1 parent 6cbb65c commit 0b18504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Expand Up @@ -12,14 +12,14 @@
},
"dependencies": {
"@apollo/experimental-nextjs-app-support": "0.0.0-commit-b8a73fe",
"@jtoar/throw-on-client": "0.0.1",
"@redwoodjs/forms": "7.0.0-canary.1011",
"@redwoodjs/router": "7.0.0-canary.1011",
"@redwoodjs/web": "7.0.0-canary.1011",
"@tobbe.dev/rsc-test": "0.0.5",
"client-only": "0.0.1",
"react": "0.0.0-experimental-e5205658f-20230913",
"react-dom": "0.0.0-experimental-e5205658f-20230913",
"server-only": "0.0.1"
"react-dom": "0.0.0-experimental-e5205658f-20230913"
},
"devDependencies": {
"@redwoodjs/vite": "7.0.0-canary.1011",
Expand Down
@@ -1,4 +1,5 @@
import 'server-only'
// Could also have used `import 'server-only'
import '@jtoar/throw-on-client'

const RANDOM_WORDS = [
'retarders',
Expand Down

0 comments on commit 0b18504

Please sign in to comment.