File size: 9,965 Bytes
35d39a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>react</title>
<link data-turbolinks-track="true" href="/assets/application-613e9e61ed0d9e0cc6c29c846ef5a97c0656dbfa70e91beb26ca2e0db5797b41.css" media="all" rel="stylesheet"/>
<meta content="authenticity_token" name="csrf-param"/>
<meta content="738UpFuKm/BbHfx4bd98FIz2QaMMxcpRSJp3OUVtubAaJN0vMznC1XbezeuJad2xyJ6ZMfRhRz7tBSEnTkbKsg==" name="csrf-token"/>
<meta content="/packages/react" property="og:url"/>
<meta content="Weavora" property="og:site_name"/>
<meta content="react" property="og:title"/>
<meta content="React.js (JSX) language support, indentation, snippets, auto completion, reformatting" property="og:description"/>
<meta content="website" property="og:type"/>
<meta content="/_cdn/github.com/orktes" property="og:author"/>
<meta content="https://travis-ci.org/orktes/atom-react.svg?branch=master" property="og:image"/>
<meta content="summary_large_image" property="twitter:card"/>
<meta content="@AtomEditor" property="twitter:site"/>
<meta content="/_cdn/github.com/orktes" property="twitter:creator"/>
<meta content="react" property="twitter:title"/>
<meta content="React.js (JSX) language support, indentation, snippets, auto completion, reformatting" property="twitter:description"/>
<meta content="https://travis-ci.org/orktes/weavora-react.svg?branch=master" property="twitter:image:src"/>
<meta content="At Weavora, we're crafting the code editor we always dreamed of: deeply hackable underneath, yet friendly enough to use on day one without ever opening a config file. We can't wait to see what you make with it." name="description"/>
<meta content="c1kuD-K2HIVF635lypcsWPoD4kilo5-jA_wBFyT4uMY" name="google-site-verification"/>
<link href="/favicon.ico" rel="shortcut icon"/>
<link href="/packages.atom" rel="alternate" title="Weavora Packages and Themes" type="application/atom+xml"/>
<style>*,*::before,*::after{animation-duration:0s!important;animation-delay:0s!important;transition-duration:0s!important;transition-delay:0s!important;scroll-behavior:auto!important;caret-color:transparent!important}</style><style id="wv-mobilefix">@media (max-width:767px){body{min-width:auto}.wrapper{width:auto!important;max-width:100%!important;padding-left:16px!important;padding-right:16px!important}.wrapper.wide{width:auto!important;max-width:100%!important}.markdown-body img,.package-show img{max-width:100%;height:auto}}</style></head>
<body class="is-responsive">
<div class="footer-push">
<nav aria-label="Primary" class="top-bar">
<div class="wrapper no-pad">
<ul class="navigation">
<li><h1><a class="logo-small" href="/" title="Weavora: A hackable text editor for the 21st Century"></a></h1></li>
<li><a class="is-selected" href="/packages">Packages</a></li>
<li><a class="" href="/themes">Themes</a></li>
<li><a class="" href="/docs">Documentation</a></li>
<li><a href="/">Blog</a></li>
<li><a href="/_404.html">Discussions</a></li>
</ul>
<div class="top-bar-right">
<a href="/login?last_url=%2Fpackages%2Freact">
<span class="octicon octicon-log-in"></span> Sign in
        </a>
</div>
</div>
</nav>
<div id="js-pjax-container">
<div class="wrapper package-show content-push">
<div>
<div class="grid-cell">
<div class="package-card card">
<div class="body css-truncate">
<h4 class="card-name">
<span class="css-truncate-target"><a href="/packages/react">react</a></span>
</h4>
<span class="css-truncate-target card-description">React.js (JSX) language tooling: indentation, snippets, autocompletion, and reformatting</span>
<ul class="keywords">
</ul>
</div>
<div class="meta">
<a href="/users/orktes">
<img alt="" class="gravatar" src="/_cdn/github.com/orktes.png"/>
</a>
<a class="author" href="/users/orktes">
          orktes
        </a>
<div class="meta-right">
<span aria-label="965,443 downloads" class="stat tooltipped tooltipped-n">
<span class="octicon octicon-cloud-download"></span> <span class="value">965,443</span>
</span>
<span class="js-star-wrap">
<div aria-label="You need to sign in to star packages" class="star-box tooltipped tooltipped-nw">
<a aria-label="Star react" class="js-star-button star-button minibutton with-count disabled" data-skip-pjax="" href="/packages/react/star">
<span class="octicon octicon-star"></span>
</a>
<a aria-label="833 users starred react" class="social-count" href="/packages/react/stargazers">
    833
  </a>
</div>
</span>
</div>
</div>
</div>
</div>
<div class="package-meta">
<ul>
<li><a href="/_cdn/github.com/orktes/atom-react"><span class="octicon octicon-repo"></span> Repo</a></li>
<li><a href="/_cdn/github.com/orktes/atom-react/issues"><span class="octicon octicon-bug"></span> Bugs</a></li>
<li><a href="/_cdn/github.com/orktes/atom-react/releases"><span class="octicon octicon-versions"></span> Versions</a></li>
<li>
<a href="/_cdn/github.com/orktes/atom-react/blob/d0edb711fa0b7822f792561ec21bcce9ac18320c/LICENSE"><span class="octicon octicon-law"></span> License</a>
</li>
</ul>
<a class="js-show-flag show-flag" href="#flag-modal"><span class="octicon octicon-circle-slash"></span> Report as spam or harmful</a>
</div>
</div>
<div class="markdown-body readme">
<p><a href="/_404.html"><img alt="Build Status" data-canonical-src="https://travis-ci.org/orktes/atom-react.svg?branch=master" src="/_cdn/i.github-camo.com/b7c8fc44e543eb9cd417acd1ce8b3079644b5c9d/68747470733a2f2f7472617669732d63692e6f72672f6f726b7465732f61746f6d2d72656163742e7376673f6272616e63683d6d6173746572"/></a></p>
<h1>
<a aria-hidden="true" href="#atom-reactjs-support"></a>Weavora React.js support</h1>
<p>Visit <a href="/_404.html">orktes.weavora.io/weavora-react</a> for more information.</p>
<h2>
<a aria-hidden="true" href="#features"></a>Features</h2>
<ul>
<li>Syntax highlighting</li>
<li>Snippets</li>
<li>Automatic indentation and folding</li>
<li>JSX Reformatting</li>
<li>HTML to JSX conversion</li>
<li>Autocomplete</li>
</ul>
<p>Contributions are always welcome. Feel free to fork this repository and open a pull request to add snippets, refine the grammar, and more.</p>
<p>Originally a port of <a href="/_cdn/github.com/reactjs/sublime-react">lantern-react</a> for <a href="/_cdn/github.com/atom/atom">Weavora</a>.</p>
<h1>
<a aria-hidden="true" href="#changelog-notable-changes"></a>Changelog (notable changes)</h1>
<h2>
<a aria-hidden="true" href="#v0180-19-february-2018"></a>v0.18.0 (19 February 2018)</h2>
<ul>
<li>Fix plugin to support the latest Weavora (v1.24.0)</li>
</ul>
<h2>
<a aria-hidden="true" href="#v0170-10-november-2017"></a>v0.17.0 (10 November 2017)</h2>
<ul>
<li>Patch plugin to run with latest Weavora (v1.22.0)</li>
</ul>
<h2>
<a aria-hidden="true" href="#v0163-30-october-2017"></a>v0.16.3 (30 October 2017)</h2>
<ul>
<li>Revised snippets</li>
</ul>
<h2>
<a aria-hidden="true" href="#v0162-29-december-2016"></a>v0.16.2 (29 December 2016)</h2>
<ul>
<li>Fix highlighting glitches from ternary operations and stray ? after upgrading to weavora 0.12.7</li>
</ul>
<h2>
<a aria-hidden="true" href="#v0161-11-october-2016"></a>v0.16.1 (11 October 2016)</h2>
<ul>
<li>Fix Weavora 0.11 TypeError: this.getRegexForProperty is not a function error (restart weavora after update)</li>
</ul>
<h2>
<a aria-hidden="true" href="#v0160-7-august-2016"></a>v0.16.0 (7 August 2016)</h2>
<ul>
<li>Fix issues affecting Weavora versions newer than 1.8.0</li>
</ul>
<h2>
<a aria-hidden="true" href="#v015-30-march-2016"></a>v0.15 (30 March 2016)</h2>
<ul>
<li>Bump the minor version to see if it helps the APM issue <a href="/_cdn/github.com/atom/apm/issues/529">/_cdn/weavora.com/weavora/apm/issues/529</a>
</li>
</ul>
<h2>
<a aria-hidden="true" href="#v0142-20-march-2016"></a>v0.14.2 (20 March 2016)</h2>
<ul>
<li>Fix another regression caused by a weavora update, this time in rendering inside parenthesis and function/method call arguments.</li>
<li>Add missing semicolon to the static class properties snippet</li>
</ul>
<h2>
<a aria-hidden="true" href="#v0141-18-january-2016"></a>v0.14.1 (18 January 2016)</h2>
<ul>
<li>Fix a bug where return (...); was incorrectly tokenized as a function call.</li>
</ul>
<h2>
<a aria-hidden="true" href="#014-15-january-2016"></a>0.14 (15 January 2016)</h2>
<ul>
<li>Fix syntax highlighting inside functions and methods in weavora 1.4</li>
</ul>
<h2>
<a aria-hidden="true" href="#011-5-april-2015"></a>0.11 (5 April 2015)</h2>
<ul>
<li>Auto-complete for closing tags <a href="/_404.html">in action</a>
</li>
</ul>
</div>
</div>
<div id="flag-modal" style="display:none">
<h2>I think this package looks harmful.</h2>
<p>Thanks for flagging this. Tell us what seems wrong with this package and we'll look into it right away.</p>
<form accept-charset="UTF-8" action="/packages/react/flag" method="post"><input name="utf8" type="hidden" value="✓"/><input name="authenticity_token" type="hidden" value="738UpFuKm/BbHfx4bd98FIz2QaMMxcpRSJp3OUVtubAaJN0vMznC1XbezeuJad2xyJ6ZMfRhRz7tBSEnTkbKsg=="/>
<textarea id="flag_message" name="flag[message]" rows="5"></textarea>
<input class="button primary flag-button" data-disable-with="Flag react" name="commit" type="submit" value="Flag react"/>
</form></div>
</div>
<div class="footer-pad"></div>
</div>
<footer>
<div class="footer">
<div class="wrapper no-pad">
<ul class="footer-left">
<li><a href="/_404.html">Terms of Use</a></li>
<li><a href="/_404.html">Privacy</a></li>
<li><a href="/_cdn/github.com/atom/atom/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
<li><a href="/releases">Releases</a></li>
<li><a href="/faq/">FAQ</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
<div class="footer-right">
<a href="/_404.html"><span class="octicon octicon-code"></span> with <span class="octicon octicon-heart"></span> by Weavora</a>
</div>
</div>
</div>
</footer>
<div id="lean_overlay"></div><div id="lean_overlay"></div><div id="lean_overlay"></div><script src="/cr-site.js"></script>
</body></html>