20 lines
434 B
Plaintext
20 lines
434 B
Plaintext
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
|
|
|
|
[source,javascript]
|
|
----
|
|
<Hello firstname="John"
|
|
lastname="Doe" />
|
|
----
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|