[x] yes (bugfixes and features will not be merged without tests)
[ ] no
Breaking Changes?
[ ] yes (breaking changes will not be merged unless absolutely necessary)
[x] no
If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
This PR changes up the data-id attribute to data-type, and removes the strip property from render options. Users can now use DEBUG=jsx-email:elements to enable adding the attribute to the output if desired.
While this is technically a breakingish change, we're moving forward with this as a minor version because it's so seldom used. This should also yield a speed increase as well.
Component / Package Name:
This PR contains:
Are tests included?
Breaking Changes?
If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
This PR changes up the
data-id
attribute todata-type
, and removes thestrip
property fromrender
options. Users can now useDEBUG=jsx-email:elements
to enable adding the attribute to the output if desired.While this is technically a breakingish change, we're moving forward with this as a minor version because it's so seldom used. This should also yield a speed increase as well.