-
|
Components docs, says props objects should be encoded. I have a dynamic object that could have special characters in some keys. How is the best way to send this values as props on a component, without needing to remove the characters? Example:
Airfryer renders normally, but TV don't, it breaks after apostrophe. Tried using html entities but it just don't render and unicode |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Only way is like in the docs, i.e. make sure the quotes are escaped like |
Beta Was this translation helpful? Give feedback.
Only way is like in the docs, i.e. make sure the quotes are escaped like
"Lorem TV 15'' LED"and then use{{{ }}}to output the unescaped value: