24 lines
638 B
Plaintext
Raw Normal View History

== Why is this an issue?
When a given "props" is used more than once in a component, there is great chance it's a mistake and so the behavior of the application won't be the one expected.
=== Compliant solution
2022-02-04 17:28:24 +01:00
[source,javascript]
----
<Hello firstname="John"
lastname="Doe" />
----
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
=== on 23 Feb 2018, 11:58:43 Alexandre Gigleux wrote:
Covered by ESLint for React: \https://github.com/yannickcr/eslint-plugin-react/blob/HEAD/docs/rules/jsx-no-duplicate-props.md (react/jsx-no-duplicate-props)
endif::env-github,rspecator-view[]