Hello, Vue community
I was exploring
render functions and can’t find a way to render an element after async request.
Here’s the fiddle: https://jsfiddle.net/wostex/tbygu9ow/5/
Seems like returning
then doesn’t do anything. I tried to put it into
nextTick as you can see but still no luck. Though I think
nextTick it’s not relevant in this case.
Can I somehow make it work? Make async request, get data and render it using render function?
It’s more like a theoretical question, I’m aware how you do it with a regular approach.