Support Optional Chaining operator

I’d love to be able to use expressions like {{myQuery.data?.foo?.bar ? 'baz'}} in my components. The optional chaining operator and its relatives make it much easier to write code that won’t throw exceptions when data is missing.

You could use Babel to compile the JS so all browsers can run it.

2 Likes