source-preview-react package
source-preview provider for react
Settings
jsxHarmony
: shortcut to enable ES6 & ES7 transforms (default: false)
source-preview provider for react
Home Page: https://atom.io/packages/source-preview-react
License: MIT License
source-preview provider for react
jsxHarmony
: shortcut to enable ES6 & ES7 transforms (default: false)I've download Atom 1.7.4 to both Windows 10 and Ubuntu 15.10, installed Atom's react and source-preview-react packages. Used Atom to open folder with react-15.1.0/examples. Clicked on index.html in basic example. Ctlr-shift-M. I get this "If you can see this, React is not working right. If you checked out the source from GitHub make sure to run grunt." This happens on both Windows 10 and Ubuntu 15.10.
Can anyone let me know how to get this working properly. I also tried atom-react-preview package and this failed to install with known error.
Using npm to install react and using explorer to view file tree every examples works as specified.
Using atom 1.30, language-cjsx 0.3.0, source-preview 0.4.2. Keep getting compile errors on '<' or '/'.
My code:
# @cjsx React.DOM
React = require('react')
Car = React.createClass
render: ->
<div>Hello, world.</div>
The code can be compiled to js with react-coffee. It seems source-preview still treats cjsx files as coffee. I tried disable the builtin coffee provider of source-preview but it didn't work.
I'm new to atom world. Am I missing something important?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.