Layouts and Functional Components using VueJS &

Michael Really awesome write up you have there, particularly with the AST mappings!

By design, functional components are meant to be template-less. But I guess you could probably hack around it and include a ‘template-only’ component ;)

However, since the render(createElement, context) function provides the createElement() ( you could, in theory, send in a template (although I’ve never tried it), which might be fine for static templates, but if you do anything more complex, I’d recommend a component :)

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.