Next.js Discord

Discord Forum

TypeScript compile time error in RSC

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
How do I enable compile-time error while using hooks in RSC?
like this import { useState } from 'react';
so that I get squigglies in the useState while writing react server components

0 Replies