Back to front pageView on Hacker News (opens in a new tab)Show HN: 33 line React (opens in a new tab)leontrolski.github.io418 pointsby leontrolski (on Hacker News)6 years agoleontrolski.github.io (opens in a new tab)leontrolski - 33 line ReactComments (156) 28 threadsEarlier commentsuk_programmer6 years ago#I just had a look at the dom implementation and it similar to what I have done in typescript. There is only so many ways you can skin a cat.If you are wishing to do something similar yourself it is worth looking at hyperscript source code:https://github.com/hyperhype/hyperscript[-]diablo16 years ago1 reply#This reminds my of Cash[0], a lightweight jQuery alternative for working with the DOM in a more accessible way[0] https://github.com/kenwheeler/cashleeoniya6 years ago#Cash has some api incompatibilities with jQuery.https://umbrellajs.com/ is both smaller and better.jxub6 years ago#Weirdly triggered by the function arrows lacking spaces around them. Good work thoughCitrusFruits6 years ago#Anyone who likes the idea of a minimal virtual DOM (like this) will probably appreciate MaquetteJS: https://maquettejs.org/Load more commentsAll comments shown.Couldn't load more comments. Check your connection and try again.
Show HN: 33 line React (opens in a new tab)leontrolski.github.io418 pointsby leontrolski (on Hacker News)6 years ago
uk_programmer6 years ago#I just had a look at the dom implementation and it similar to what I have done in typescript. There is only so many ways you can skin a cat.If you are wishing to do something similar yourself it is worth looking at hyperscript source code:https://github.com/hyperhype/hyperscript
diablo16 years ago1 reply#This reminds my of Cash[0], a lightweight jQuery alternative for working with the DOM in a more accessible way[0] https://github.com/kenwheeler/cash
leeoniya6 years ago#Cash has some api incompatibilities with jQuery.https://umbrellajs.com/ is both smaller and better.
jxub6 years ago#Weirdly triggered by the function arrows lacking spaces around them. Good work though
CitrusFruits6 years ago#Anyone who likes the idea of a minimal virtual DOM (like this) will probably appreciate MaquetteJS: https://maquettejs.org/
Comments (156) 28 threads
Earlier commentsIf you are wishing to do something similar yourself it is worth looking at hyperscript source code:
https://github.com/hyperhype/hyperscript
[0] https://github.com/kenwheeler/cash
https://umbrellajs.com/ is both smaller and better.
All comments shown.
Couldn't load more comments. Check your connection and try again.