Displaying 1 to 20 from 45 results

hyperapp - 1 kB JavaScript micro-framework for building declarative web applications

  •    Javascript

Hyperapp is a JavaScript micro-framework for building web applications. 👋 Hyperapp 2.0 is coming out soon! Try it from the V2 branch right now and be sure to follow @HyperappJS for all the Hyperapp news & updates.




ijk - Transforms arrays into virtual dom trees; a terse alternative to JSX and h

  •    Javascript

This is a tiny recursive factory function that allows you to write terse, declarative representations of virtual DOM trees. It does not try mimic HTML or JSON syntax but instead a series of nested arrays to represent user interfaces. The above call to h returns a virtual DOM tree with named attributes that respect the provided schema. Expected output here, would be of the shape { x: 'main', y: {}, z: [...] }. A tree like this can be passed as a node to patch, diff and render algorithms exposed by libraries like Hyperapp, Ultradom or Preact.

awesome-hyperapp - A curated list of awesome projects built with Hyperapp & more.

  •    

A curated list of awesome projects built with Hyperapp & more.To contribute, fork this repository, add your amazing entry and send us a PR. See CONTRIBUTING for more information.


hyperapp.js.cool - 从0到1掌握Hyperapp

  •    Javascript

欢迎进行反馈交流。同时非常期待您在 Github 上 Follow 我 (@willin).

cypress-hyperapp-unit-test - Unit test Hyperapp components using Cypress

  •    Javascript

What is this? This package allows you to use Cypress test runner to unit test your Hyperapp components with zero effort. The component runs in the real browser with full power of Cypress E2E test runner: live GUI, powerful API, screen recording, historical DOM snapshots, CI support, cross-platform. The line between unit testing a component that renders into a DOM, makes HTTP requests, uses browser API and an end-to-end test for a complete web application is becoming very blurry in my opinion. Hope this little bridge between Hyperapp and Cypress test runner proves it. See examples below - some of them are testing individual components, some full apps. But the unit and end-to-end tests look and run very much alike.

hyperapp-RxJS - A test with HyperApp and RxJS

  •    CSS

This will generate a release directory with your minified/rev'd assets. This will use serve to statically serve your app from the release directory.

hyperapp-todo-parcel

  •    CSS

Add some todos, click buttons to delete or toggle state, tap or click text in todo to edit. TODO: a bug in parcel rewrites the manifest.json to a js file so the pwa requirements fails. Also the meta tags and icons are rewritten https://github.com/parcel-bundler/parcel/issues/220 To build a proper PWA you now have to manually copy the tags in the head from src/index.html, and also copy the icons with their proper names.

hyperapp-todo-simple - Simple crud todo-app with hyperapp.js

  •    CSS

Add some todos, click buttons to delete or toggle state, tap or click text in todo to edit. This will generate a release directory with your minified/rev'd assets.

hyperapp-flow-skeleton - A simple skeleton for getting started with hyperapp, webpack, and flowtype

  •    Javascript

This is a minimal boilerplate I've put together to easily get started with HyperApp. It uses webpack for building, and Flow for type checking. I'm a big fan of the Elm architecture and how well it's suited to structure applications. HyperApp is a fantastic library which enables you to work with this application structure in a simple, easy-to-learn way, using the language everyone knows and (sometimes) loves. The addition of Flow gives all of the benefits of static typing with a flexible but rigid type checker.

hyperapp-starter - Boilerplate and tooling for authoring modern web applications with Hyperapp and Node

  •    Javascript

Boilerplate and tooling for authoring modern web applications with Hyperapp and Node.js. This project was bootstrapped with Hyperapp Starter (support).

fx - Effects as data for Hyperapp.

  •    Javascript

A Hyperapp higher-order app enabling you to write your effects as data, inspired by Elm Commands. Using effects as data will give your app benefits in several areas. Here's a taste of how to use two of the most common effects for firing actions and making HTTP requests. The app displays inspiring quotes about design, fetching a new quote each time the user clicks on the current one. Go ahead and try it online here.

html - Html helper functions for Hyperapp.

  •    Javascript

Html helper functions for Hyperapp. Use @hyperapp/html as an alternative to JSX or the hyperapp.h function. Don't want to set up a build environment? Download @hyperapp/html from unpkg.com/@hyperapp/html and it will be globally available through the window.hyperappHtml object.

render - Render Hyperapp to an HTML string with SSR and Node.js streaming support.

  •    Javascript

A Hyperapp higher-order app that allows you to render views to an HTML string. Our first example is an interactive app from which you can generate an HTML markup. Go ahead and try it online.

transitions - Animate Hyperapp components as they are appear, disappear and move around on the page

  •    Javascript

Hyperapp Transitions lets you animate your Hyperapp components as they are appear, dissapear and move around on the page. Use it to provide your user with important cues and a smoother experience. Use it as you would any component. The difference is, now your newly added Notifications will not just suddenly appear, but rather fade and slide in from the right.