EmberJSX
raw JSON → 0.0.0 verified Fri May 01 auth: no javascript abandoned
An experimental Ember JSX transpiler that converts JSX syntax to Ember components, following the Draft JSX Specification. Currently at version 0.0.0 with no stable release; this project is a work-in-progress and does not yet contain a working transpiler. Differentiators: aims to bring JSX to Ember ecosystem but is highly experimental and pre-alpha. Release cadence: none yet.
Common errors
error Cannot find module 'ember-jsx' ↓
cause Package is not published or not installed.
fix
This package is not yet functional; consider alternatives.
Warnings
gotcha Project is a WIP with no working transpiler; do not use in production. ↓
fix Avoid using this package until a stable release is made.
Install
npm install ember-jsx yarn add ember-jsx pnpm add ember-jsx Imports
- default wrong
const EmberJSX = require('ember-jsx')correctimport EmberJSX from 'ember-jsx'
Quickstart
// No functional code available; project is WIP with no working transpiler.
// Intended usage would be something like:
import EmberJSX from 'ember-jsx';
const transpiled = EmberJSX.transpile('<MyComponent foo="bar">Hello</MyComponent>');
console.log(transpiled);