WebReflection / neverland

React like Hooks for lighterhtml
https://medium.com/@WebReflection/neverland-the-hyperhtmls-hook-a0c3e11324bb
ISC License
244 stars 7 forks source link

Cannot read property 'apply' of undefined #43

Closed CaptainJKoB closed 4 years ago

CaptainJKoB commented 4 years ago

Hello. 👋 I've encountered something while experimenting with Neverland.

This simple example throws an error:

Cannot read property of 'apply' of undefined

import {html, svg, render} from 'https://unpkg.com/neverland?module'
render(document.body, html`<button>Click</button>`);

This error occurs in the examples too. I don't know if I am doing something wrong or missing something. Thank you for your help. :)

WebReflection commented 4 years ago

Fixed, thanks!