question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rename exported global from `hyperapp` to `Hyperapp`.

See original GitHub issue

This is a proposal only relevant to CDN users. If you are using ES5 or ES6 via a module bundler, etc., you have nothing to worry about.

Before

🚫 const { h, app } = hyperapp 

After

✅ const { h, app } = Hyperapp 

Related: https://github.com/hyperapp/hyperapp/issues/352

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
jorgebucarancommented, Sep 5, 2017

In a unexpected turn of events, I’m closing here and https://github.com/hyperapp/hyperapp/issues/352 and leaving things the way they are!

3reactions
lukejacksonncommented, Sep 4, 2017

It is probably worth making clear that, for any apps/demos that rely on the window.hyperapp namespace already (codepens especially officials and forks), this is a breaking change.

I prefer hyperapp and therefore would support hyperappRouter (camelCase module convention) on the grounds of, same advantages less disruption.

Either way I will be happy if there is consistency 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Modules in V2 · Discussion #1020 · jorgebucaran/hyperapp
A) Increment and Decrement are completely unaware of the shape of the global app state. Their definitions are completely self contained. B) Main ......
Read more >
hyperapp-render | Yarn - Package Manager
[BREAKING] Rename global exports from window.* to window.hyperappRender.* . [BREAKING] Rename server package from hyperapp-render/server to hyperapp-render .
Read more >
https://raw.githubusercontent.com/frenzzy/hyperapp...
[BREAKING] Rename global exports from `window.*` to `window.hyperappRender.*`. - [BREAKING] Rename server package from `hyperapp-render/server` to ...
Read more >
Hyperapp state machine web app - Gleb Bahmutov
How to write a web application using a state machine and Hyperapp framework. ... export default Machine({ ... import { app } from...
Read more >
hyperapp - npm
The tiny framework for building hypertext applications.. Latest version: 2.0.22, last published: 9 months ago. Start using hyperapp in your ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found