This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+frameworks
Jam Risser bff4cf5857 Use JSX header without breaking React
Using the header below is now deprecated in React.
```js
/** @jsx React.DOM */
```

However, there are situations where I have to use the *.js extension, and need to tell my text editor that the file has JSX.

I suggest switching to JSX mode if it detects a header starting with `@jsx`. Then I'll be able to do the following without breaking react.

```js
/** @jsx */
2017-07-06 14:36:15 +02:00
..
django update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
react Use JSX header without breaking React 2017-07-06 14:36:15 +02:00
ruby-on-rails update docs to the new toc-org format 2017-05-22 18:35:37 +03:00