eslint-plugin-react-server-components
Advanced tools
Changelog
1.2.0
560c8be: Added allowedServerHooks
option. Hooks specified here will not throw an error in files that do not have the 'use client'
directive.
Example:
{
"rules": {
"react-server-components/use-client": [
"error",
{ "allowedServerHooks": ["useTranslation"] }
]
}
}
Changelog
1.1.2
useId
in server and shared components.Changelog
1.1.1
Changelog
1.0.1