Hacker GitHub

← All repos

insin/babel-plugin-react-html-attrs

View on GitHub ↗ ★ 176 JavaScript

Babel plugin which transforms HTML and SVG attributes on JSX host elements into React-compatible attributes

3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2017-04-24 · latest 2020-05-14

Mentions per year 3 mentions · busiest year 2017 (1)
20082026
  1. …plugin I had written to do basic class → className and for → htmlFor transforms on JSX attributes: https://github.com/insin/babel-plugin-react-html-attrs It now lets you use _all_ HTML attributes on host elements in JSX, and I ended up…
  2. …illa.org/en-US/docs/Web/API/HTMLLabelEl... If you really dislike it, you can still use class and for: https://github.com/insin/babel-plugin-react-html-attrs > or I would be able to write a simple if-else statement {} evaluates to a…
    comment by mlsarecmg · 2018-01-22 · in Guide to JavaScript Frameworks
  3. …to address the class/className issue addressed in the author's last point. [1] https://github.com/insin/babel-plugin-react-html-attrs