Detection for missing use client directive
Open
scope: code-infra
- Dominant language
- TypeScript
- Stars
- 10.9k
- Forks
- 543
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 101
Description
In some projects we didn't catch 'use client' directives missing, it would be great to have a code infra step that could check about this.
Potential ways we can do this:
- updated eslint plugin: needs to investigate impact on next.js perf
- Look into rollup plugin that can detect all react usage from non-client entrypoints and their fully resolved module graphs
- Do we have any code in BUI where a RSC makes sense?
Contributor guide
Assessment
This issue has not been assessed yet.