1kB-ish JavaScript framework for building hypertext applications
.replace
callback to avoid arrow functions for necessary bound arguments.Include Hyperapp in your project using our CDN:
<script src="https://cdn.rawgit.com/hyperapp/hyperapp/0.0.10/dist/hyperapp.min.js"></script>
or
<script src="https://cdn.rawgit.com/hyperapp/hyperapp/0.0.10/dist/app.min.js"></script>
<script src="https://cdn.rawgit.com/hyperapp/hyperapp/0.0.10/dist/html.min.js"></script>
<script src="https://cdn.rawgit.com/hyperapp/hyperapp/0.0.10/dist/h.min.js"></script>
Revert #17. Turns out, I'm still figuring some things out.
Resolved an issue with the h
function for better JSX compatibility. The tree structure now correctly handles arrays, ensuring smoother integration with JSX syntax.
To use Hyperapp in your project, include the following scripts from our CDN:
<script src="https://cdn.rawgit.com/hyperapp/hyperapp/0.0.7/dist/app.min.js"></script>
<script src="https://cdn.rawgit.com/hyperapp/hyperapp/0.0.7/dist/html.min.js"></script>
<script src="https://cdn.rawgit.com/hyperapp/hyperapp/0.0.7/dist/h.min.js"></script>
h
Function: If you're directly using the h
function or compiling JSX to raw h
calls within your bundle, the inclusion of html.min.js
is not required.h
function has been added to the distribution to support JSX usage.merge
(#3).update
description (#1).