Blocking secrets from reaching the client
You want a build-time guard so a user object with a password hash can never be passed to a Client Component by mistake. Which React API helps?
Discussion 0
Join free to post in the discussion.
Related questions
- Where to keep a secret keyFull Stack Developer
- Preventing SQL injectionFull Stack Developer
- Storing user passwordsFull Stack Developer
- The .env file and GitFull Stack Developer
- useState in an App Router pageFull Stack Developer
- Renaming a secret to NEXT_PUBLIC_Full Stack Developer
- Making a route publicFull Stack Developer
- What a layout doesFull Stack Developer