Hacker GitHub

← All repos

AlexGilleran/jsx-control-statements

View on GitHub ↗ ★ 1,615 JavaScript

Neater If and For for React JSX

5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2019-12-05 · latest 2022-03-09

Mentions per year 5 mentions · busiest year 2022 (3)
20082026
  1. …or standalone lib[3] [1] https://www.solidjs.com/docs/latest/api#%3Cswitch%3E%2F%3Cma... [2] https://github.com/AlexGilleran/jsx-control-statements [3] https://github.com/samuelneff/react-control-flow
    comment by kipple · 2022-03-09 · in Advice on JSX Conditionals
  2. …this has existed in React through a Babel plugin. I'm not sure why this hasn't really caught on. https://github.com/AlexGilleran/jsx-control-statements
    comment by dimgl · 2022-03-09 · in Advice on JSX Conditionals
  3. Thanks, this is really useful. I’ve been using this Babel plug-in found it quite intuitive https://github.com/AlexGilleran/jsx-control-statements
    comment by phelm · 2022-03-09 · in Advice on JSX Conditionals
  4. …and loops inline was ugly or a pita. Then I discovered this Babel plugin and I love it: https://github.com/AlexGilleran/jsx-control-statements
    comment by pier25 · 2020-02-13 · in The web as a GUI toolkit
  5. …new ones with cookiecutter Im open to being wrong here, but the experience kinda sucked IMO. [1] https://github.com/AlexGilleran/jsx-control-statements
    comment by misiti3780 · 2019-12-05 · in Create-React-App 3.3