Skip to content

clj-kondo lint rules #4

@wavejumper

Description

@wavejumper

In re-frame + reagent, code like:

(when-let [sub @(rf/subscribe [...])] ...)

is very common.

The rules of hooks prohibit such patterns (conditional use of. hooks). It should be possible to add clj-kondo linting rules/hooks to capture the anti-patterns of hooks with rfx/use-sub and friends.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions