Skip to content

Add no-string-refs to recommended configuration #749

Closed
@lencioni

Description

@lencioni

The React documentation says:

Although string refs are not deprecated, they are considered legacy, and will likely be deprecated at some point in the future. Callback refs are preferred.

It seems like it might be a good idea to add this rule to the recommended configuration. What do folks think?

I'm adding this to the 7.0.0 milestone so we don't forget to do this for our next major version bump.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions