Question on zod: with react-hook-form + zodResolver, what’s the best way to handle backend-only fields (like id, schoolId) that aren’t part of the form? right now validation fails before submit and I’m not sure the cleanest way to handle it ? 🫠🫠
I dont know why @tailwindcss gets a bad rep. You can do a simple @layer components and the classes look less cluttered 👌. I know this is how css works out of the box, but you still get all the convenience of tailwind utilities!
@leojrr Im in the same place, i have better-auth with only oauth with google.. only aothorized users in db can login.. and middleware for blocking /dasboard and all subroutes.. what can go wrong?
❌ Avoid using useState() for complex state management in React
✅ Instead use useReducer:
1. Predictable State Transitions
2. Easier to test
3. Scales better
@AristideBenoist Impressed by your work! I'm diving into GLSL but struggling to find good resources on WebGL for 2D. Would love your advice on this! Awesome projects btw, im consuming all your content