Instantly share code, notes, and snippets.

Embed
What would you like to do?
Blank view component
export const {
view: v => (
v.attrs.view
?
v.attrs.view.call(v.state, v)
:
v.children
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment