Hyperapp: 0.0.12 failed to import { html }

Created on 9 Feb 2017  路  5Comments  路  Source: jorgebucaran/hyperapp

import { app, html } from 'hyperapp'

html is not a function

0.0.11 works fine

All 5 comments

@crapthings In 0.0.12 you have to import {app, html} from 'hyperapp/hx. This will change back to the old behavior in 0.0.13 if I understood correctly.

Yes, that is correct. I made a similar update here. You can see what changed after I switched to using the latest/master code.

Thanks @dodekeract, that's correct.

@crapthings There was a reason for that, but it should be soon before I release 0.0.13 and back to the original behavior.

cheers

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jacobtipp picture jacobtipp  路  3Comments

icylace picture icylace  路  3Comments

joshuahiggins picture joshuahiggins  路  4Comments

jorgebucaran picture jorgebucaran  路  3Comments

rbiggs picture rbiggs  路  4Comments