- adds `nriDescription` and `testId` helpersExtras for working with Html.Attributes.
This is the new version of Nri.Ui.Html.Attributes.Extra.
conditionally include an attribute. Useful for CSS classes generated with
UniqueClass!
Use this list of attributes instead of applying Attributes.target "_blank"
directly. This prevents an exploits like "tabnabbing", among other things.
See these resources:
See Cypress best practices: https://docs.cypress.io/guides/references/best-practices.html#Selecting-Elements
Represents an attribute with no semantic meaning, useful for conditionals.
This is implemented such that whenever Html.Attributes.Extra.none is encountered by VirtualDom it will set a meaningless property on the element object itself to null:
It's totally safe and lets us clean up conditional and maybe attributes