SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Warn if you pass a hidden prop to Activity (#32916)

Since `hidden` is a prop on arbitrary DOM elements it's a common mistake
to think that it would also work that way on `<Activity>` but it
doesn't. In fact, we even had this mistakes in our own tests.

Maybe there's an argument that we should actually just support it but we
also have more modes planned.

So this adds a warning. It should also already be covered by TypeScript.
S
Sebastian Markbåge committed
539bbdbd86d9cd342aabde4cb08e398751789103
Parent: e71d420
Committed by GitHub <[email protected]> on 4/15/2025, 9:17:22 PM