made with esnextbin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const hyperHTML = require('hyperhtml') | |
| const component = require('hypercomponent') | |
| riot = {} | |
| const _riot = require('riot') | |
| function toRiot (name, component, riot) { | |
| riot.tag(name, '', function (opts) { | |
| var tag = this | |
| var instance = null | |
made with esnextbin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>hyperHTML Starter App</title> | |
| </head> | |
| <body> | |
| <div id="root"></div> | |
| <script src="https://unpkg.com/hyperhtml"></script> | |
| <script> | |
| function tick(render) { |
OlderNewer