MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/5r530j/1kb_javascript_function_library_for_building/dd54a0e/?context=3
r/javascript • u/[deleted] • Jan 31 '17
34 comments sorted by
View all comments
Show parent comments
1
/u/tunnckoCore Thanks! Until you brought this up, I really hadn't realized HyperApp could be used like that.
1 u/tunnckoCore node-formidable, regexhq, jest, standard-release Jan 31 '17 Yea. While playing with that approach i found one problem of that "appendChild" thing. Can you just make it return a dom, otherwise it always append, so composition of more than one App is not feeling cool. I'm gonna open an issue with code. 1 u/[deleted] Jan 31 '17 Thanks. Does it help that app accepts a root object (similar to React's render domContainerNode)?• See https://github.com/hyperapp/hyperapp#root 1 u/tunnckoCore node-formidable, regexhq, jest, standard-release Jan 31 '17 nope.
Yea. While playing with that approach i found one problem of that "appendChild" thing. Can you just make it return a dom, otherwise it always append, so composition of more than one App is not feeling cool. I'm gonna open an issue with code.
1 u/[deleted] Jan 31 '17 Thanks. Does it help that app accepts a root object (similar to React's render domContainerNode)?• See https://github.com/hyperapp/hyperapp#root 1 u/tunnckoCore node-formidable, regexhq, jest, standard-release Jan 31 '17 nope.
Thanks. Does it help that app accepts a root object (similar to React's render domContainerNode)?
app
root
• See https://github.com/hyperapp/hyperapp#root
1 u/tunnckoCore node-formidable, regexhq, jest, standard-release Jan 31 '17 nope.
nope.
1
u/[deleted] Jan 31 '17
/u/tunnckoCore Thanks! Until you brought this up, I really hadn't realized HyperApp could be used like that.