Package Exports
- hyperapp-nestable
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hyperapp-nestable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hyperapp-nestable
The answer to the question: "How do I make components with local state, like React's Object components, in Hyperapp?"
Docs are a work in progress...
Install
...using npm
npm install hyperapp-nestableAnd require (or import, if you're using es6 modules) in your project:
const nestable = require('hyperapp-nestable')
... or include in HTML from CDN
Add this to the <head> of your page:
<script src="https://unpkg.com/hyperapp-nestable"></script>
this will export nestable in the global scope.
Example
See here for a (somewhat contrived) example of how it could be used: