Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
make coffeescript act again (act again <- get it?)
try do registerInstaller = -> require 'autoinstall' catch notFound
require('child_process').execSync 'npm i autoinstall'
registerInstaller()
hyperstyles = require 'hyperstyles'
h = require('react-hyperscript')
o = hyperstyles h,
(require 'csjs')"""
.panel {
border: 1px solid black;
}
"""
App = ->
o '.panel',
'Hyperllo'
{ renderToString } = require 'react-dom/server'
console.log renderToString(
o App
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment