Created
September 28, 2016 00:07
-
-
Save krambuhl/767da1926260f9d18d2077339f647196 to your computer and use it in GitHub Desktop.
Appleseed component template
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
import createComponent from 'appleseed'; | |
const ui = ({ el }) => ({ | |
el: el | |
}); | |
const init = ({ ui }) => ({ | |
}); | |
const subscriptions = ({ ui, pushUpdate }) => { | |
}; | |
const update = ({ message, state }) => { | |
switch(message) { | |
case '': return () => ({ }); | |
} | |
}; | |
const view = ({ ui, state }) => { | |
}; | |
export default createComponent({ | |
ui, | |
init, | |
subscriptions, | |
update, | |
view | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment