Hacker GitHub

← All repos

mlmorg/react-hyperscript

View on GitHub ↗ ★ 712 JavaScript

Hyperscript syntax for React.js markup

14 mentions on Hacker News by 9 people: 0 stories, 14 comments · first 2014-10-25 · latest 2025-05-21

Mentions per year 14 mentions · busiest year 2014 (4)
20082026
  1. …syntax for react(which I've just found the existence of). https://github.com/hyperhype/hyperscript https://github.com/mlmorg/react-hyperscript which might be actually similar except for the dollar sign which adds some noise. But some of…
    comment by aatd86 · 2025-05-21 · in Proposal for Standardized JSX
  2. …react-hyperscript[0] and friends terser, more regular and just as easy to work with as JSX. [0] https://github.com/mlmorg/react-hyperscript
    comment by nickcox · 2020-04-28 · in A Critique of React Hooks
  3. …=> setCount(count => count + 1)}, "Increment") ) } There are additionally libs like hyperscript ( https://github.com/mlmorg/react-hyperscript ) that take the non-JSX approach further. Although honestly, I don't recommend it. JSX is really…
    comment by ng12 · 2019-12-12 · in Thinking in React Hooks
  4. …to HTML in JS, but I feel like we can move passed that now. I highly recommend `react-hyperscript`: https://github.com/mlmorg/react-hyperscript
  5. …is 50 lines of code, including comments and empty lines, so it's fairly easy to learn: https://github.com/mlmorg/react-hyperscript/blob/master/inde...
    comment by thomasfl · 2017-09-08 · in JSX in detail
  6. …than m , and there's a hyperscript helper available for react with the expected semantics[0]: https://github.com/mlmorg/react-hyperscript [0] in the sense that it supports normal hyperscript semantics and replacing the selector with a…
  7. …that it's pleasant though. "Raw" react is perfectly OK, and react + hyperscript[0] is great. [0] https://github.com/mlmorg/react-hyperscript
  8. …nothing to do with Cycle, that's just hyperscript. Works great with React if you feel the urge: https://github.com/mlmorg/react-hyperscript The syntax is slightly different though: h('ul', [ h('li', 'Foo'), h('li', 'Bar'), ]) Otherwise the…
  9. React with JSX is pretty bad. A library like https://github.com/mlmorg/react-hyperscript solves the verbosity with not using JSX.
    comment by malandrew · 2015-10-26 · in Introducing Shadow DOM API
  10. …but there are a few libraries that make using plain JS less awkward: https://github.com/af/JSnoX https://github.com/mlmorg/react-hyperscript https://github.com/jussi-kalliokoski/react-no-jsx I do wish the React team made their plain JS API…
  11. …that make having a proper programming language useful. Have you given react-hyperscript a chance? https://github.com/mlmorg/react-hyperscript Having first class functions for creating DOM makes it much easier to keep your DOM state…
    comment by malandrew · 2014-11-25 · in Fix CSS by writing it in JavaScript
  12. https://github.com/mlmorg/react-hyperscript
    comment by malandrew · 2014-10-29 · in React v0.12
  13. …it's comparable to HTML. The complexity of JSX simply isn't worth it. It breaks too many tools. [0] https://github.com/mlmorg/react-hyperscript
    comment by malandrew · 2014-10-29 · in React v0.12
  14. …(like compiled template functions but for virtual DOM) Anyways, check out the following links: https://github.com/mlmorg/react-hyperscript https://gist.github.com/sebmarkbage/d7bce729f38730399d28
    comment by malandrew · 2014-10-25 · in Angular 2 Core