Comparing version 1.2.9 to 1.2.10
@@ -13,3 +13,3 @@ export as namespace hyperapp | ||
children: Array<VNode | string> | ||
key: string | ||
key: string | number | null | ||
} | ||
@@ -58,4 +58,4 @@ | ||
*/ | ||
export type ActionType<State, Actions> = ( | ||
data?: any | ||
export type ActionType<Data, State, Actions> = ( | ||
data?: Data | ||
) => | ||
@@ -71,3 +71,3 @@ | ((state: State, actions: Actions) => ActionResult<State>) | ||
[P in keyof Actions]: | ||
| ActionType<State, Actions> | ||
| ActionType<any, State, Actions> | ||
| ActionsType<any, Actions[P]> | ||
@@ -81,3 +81,3 @@ } | ||
export interface View<State, Actions> { | ||
(state: State, actions: Actions): VNode<object> | ||
(state: State, actions: Actions): VNode<object> | null | ||
} | ||
@@ -84,0 +84,0 @@ |
{ | ||
"name": "hyperapp", | ||
"description": "1 kB JavaScript micro-framework for building declarative web applications.", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"main": "dist/hyperapp.js", | ||
@@ -6,0 +6,0 @@ "module": "src/index.js", |
@@ -523,2 +523,17 @@ # Hyperapp | ||
## Packages | ||
The Hyperapp community has provided several packages for additional functionality to use with Hyperapp. | ||
* [**@hyperapp/router**](https://github.com/hyperapp/router) - Declarative routing for Hyperapp using the History API. | ||
* [**@hyperapp/transitions**](https://github.com/hyperapp/transitions) - Animate elements as they are appear, disappear and move around on the page. | ||
* [**@hyperapp/render**](https://github.com/hyperapp/render) - Render Hyperapp views to an HTML string. | ||
## Starter Kits | ||
If you are looking to get started with a production app using a build setup quickly and easily, there are community starter kits to help. | ||
* [**Hyperapp Kit**](https://github.com/atomiks/hyperapp-kit) - A starter kit using [Parcel](https://parceljs.org/) that supports prerendering for improved inital page load performance. | ||
* [**Hyperapp One**](https://github.com/selfup/hyperapp-one) - A starter kit using [Webpack](https://webpack.js.org) for quickstarting an application with AirBnB's JavaScript Styleguide. | ||
## Links | ||
@@ -525,0 +540,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62113
548