shama / yo-yoify

Transform choo, yo-yo or bel template strings into pure and fast document calls
111 stars 17 forks source link

It strips bel.createElement #62

Closed laduke closed 5 years ago

laduke commented 6 years ago

I think? I browserified a small thing with and without yo-yoify and I saw this in the diff of the outputs.

-var h = require('bel').createElement
+var h = {}.createElement

I know i'm being contrary by trying to use h with choo and bankai! sorry! I just like it.

I guess I should just require hyperscript? But then yo-yoifification doesn't happen.