Skip to content

Commit

Permalink
Merge branch 'master' into createref-support
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Jun 29, 2018
2 parents eae48c1 + 969f56f commit dd56872
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ Preact supports modern browsers and IE9+:
- :electric_plug: [**preact-routlet**](https://github.com/k1r0s/preact-routlet): Simple `Component Driven` Routing for Preact using ES7 Decorators
- :fax: [**preact-bind-group**](https://github.com/k1r0s/preact-bind-group): Preact Forms made easy, Group Events into a Single Callback
- :hatching_chick: [**preact-habitat**](https://github.com/zouhir/preact-habitat): Declarative Preact widgets renderer in any CMS or DOM host ([demo](https://codepen.io/zouhir/pen/brrOPB)).
- :tada: [**proppy-preact**](https://github.com/fahad19/proppy): Functional props composition for Preact components

#### UI Component Libraries

Expand Down Expand Up @@ -250,8 +251,8 @@ import { h, render, Component } from 'preact';

class Clock extends Component {
render() {
let time = new Date().toLocaleTimeString();
return <span>{ time }</span>;
let time = new Date();
return <time datetime={time.toISOString()}>{ time.toLocaleTimeString() }</time>;
}
}

Expand Down
1 change: 1 addition & 0 deletions src/preact.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ declare global {
optimum?: number;
pattern?: string;
placeholder?: string;
playsInline?: boolean;
poster?: string;
preload?: string;
radioGroup?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/vnode.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
* @property {string | number | undefined} key The key used to identify this VNode in a list
* @property {object} attributes The properties of this VNode
*/
export function VNode() {}
export const VNode = function VNode() {};

0 comments on commit dd56872

Please sign in to comment.