RMD004 — Props mutated by the receiving component
Props belong to the parent. The assignment throws, in every build. Swallowing it instead lets the mistake hide: you read the value back, get the old one, and have nothing telling you the write was dropped.
Copy it into @state, or take a callback prop and ask the parent to change it. See
Props.
Next
- All diagnostics — every code the framework can report.
- Checking your app — the faults proved from the source, before anything runs.