Skip to content

nextjs/no-async-client-component Correctness

This rule is turned on by default.

What it does

Why is this bad?

Example

javascript

How to use

To enable this rule in the CLI or using the config file, you can use:

bash
oxlint --deny nextjs/no-async-client-component --nextjs-plugin
json
{
  "plugins": ["nextjs"],
  "rules": {
    "nextjs/no-async-client-component": "error"
  }
}

References

Released under the MIT License.