Skip to content

No React/Vue satisfiedBy guidance for the 58 frontend laws #12

Description

@ruleofcodedev

The 58 laws with stack: "frontend" run on any frontend project — Angular, React, Vue,
Ionic. Their satisfiedBy guidance is written only for Angular (satisfiedBy.angular,
67 laws). A React or Vue team is told the law applies to them and then handed OnPush,
standalone components and NgRx.

This is a gap in what we have authored, not a bug in the data. See #11 for why renaming
the key would be the wrong fix.

What "done" looks like

For each frontend law, a satisfiedBy.react / satisfiedBy.vue entry written the way
the Angular ones were: after reading the detector, describing what actually makes the
check pass in that framework. Not a paraphrase of the Angular text with the nouns
swapped.

Two things to hold to:

  • Never invent. A plausible-sounding instruction that does not actually satisfy the
    detector is worse than an absent one — it sends people to change code for nothing.
  • Where a law's concern has no React/Vue equivalent, say so explicitly rather than
    inventing an analogue. Some of these 58 will legitimately have nothing to say outside
    Angular, and that belongs in detectionLimits.

Good first contribution for someone who works in React or Vue daily: pick one law, read
its detector, write the entry, prove it against a real project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions