
It looks like props for functional components are being marked at "read-only". From digging around,
it seems like this is because functional component instances don't have a forceUpdate() method. I definitely understand why this is, but I've seen this be confusing to developers. I can see two obvious options to help with this:
Option 1 is easier (and I'd be happy to provide a PR) but I think option 2 is the best long-term solution. From the POV of the React Core team trying to encourage people to use functional components, there probably shouldn't be any significant downsides to using them (refs aside). This would be more involved but it would lead to the devtools "just-working".
Happy to help out any way I can here.
Strangely, this still doesnt work for me. Any idea what can be the culprit?
i also have this issue. it still says 'read only" props and they can't be modified.
Most helpful comment
Strangely, this still doesnt work for me. Any idea what can be the culprit?