I'm using BigNumber from the bignumber.js lib. Is it possible to render this type when it's returned from a QRL/$ function? I'm intentionally hoping to use BigNumber so I don't have to convert it to a primitive number yet. This play shows how it won't render because it's not of a type compatible with JSXChildren, and since a QRL is a Promise, I'm not sure it's possible to unwrap the value so I can coerce it with + via the valueOf override.
#render a QRL that wraps a complex type
2 messages · Page 1 of 1 (latest)