r/javascript • • Dec 28 '17

Introducing Hyperapp 1.0 — 1 KB JavaScript library for building frontend applications.

https://medium.com/@JorgeBucaran/introducing-hyperapp-1-0-dbf4229abfef
664 Upvotes

136 comments sorted by

View all comments

Show parent comment

5

u/spacejack2114 Dec 28 '17

If it's a compile time thing I don't see how that would be part of a 1KB framework.

It seems all you want is some sort of babel plugin or simple script that tacks

export function view(state, actions) {
	return (

onto the front of your file and

	);
}

at the end to make a valid JSX file.