You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example it returns string in each of the rendered columns, this shows me that the values are pre-stringified before they get to the transform, instead of after which seems more appropriate.
I'd like to do a transform based on the value I passed in rather than a pre-stringified version. If my pre-transformed data is the boolean false, I'd like to be able to test (data===false) or (!data) then do a custom transform. In the existing code false is stringified to "false" so my tests of course fail. I don't want to de-stringify it back to the boolean in case the original value happens to be the the string "false".
In this example it returns
string
in each of the rendered columns, this shows me that the values are pre-stringified before they get to the transform, instead of after which seems more appropriate.I'd like to do a transform based on the value I passed in rather than a pre-stringified version. If my pre-transformed data is the boolean false, I'd like to be able to test
(data===false)
or(!data)
then do a custom transform. In the existing codefalse
is stringified to"false"
so my tests of course fail. I don't want to de-stringify it back to the boolean in case the original value happens to be the the string"false"
.Sample code:
Renders
The text was updated successfully, but these errors were encountered: