3 ms·
how do you access nested properties in Vue templates? You can't do a.b.c if b is undefined and instead need to wrap it into satanic template extensions
by serpix 8y ago
how do you access nested properties in Vue templates?
You can't do a.b.c if b is undefined and instead need to wrap it into satanic template extensions
- bigtunacan 8y agoWhen logic starts to get too complicated you have the option to move it into a render function; you can even use JSX if that's your thing. One of the nice things about Vue IMHO is how it leaves more flexibility to the developer to choose the right path.