Skip to content

Commit d069720

Browse files
Merge branch 'master' of https://github.com/reactjs/reactjs.org into sync-5849f604
2 parents 5453c9b + 5849f60 commit d069720

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

content/community/tools-misc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permalink: community/misc.html
99

1010
* **[react-inspector](https://github.com/xyc/react-inspector):** Use DevTools-like object inspectors inside your React app.
1111
* **[jreact](https://github.com/KnisterPeter/jreact):** Rendering react server-side within a JVM (Java 7 or Java 8)
12-
* **[react-jss](https://github.com/jsstyles/react-jss):** Inject and mount jss styles in React components.
12+
* **[react-jss](https://github.com/cssinjs/jss/tree/master/packages/react-jss):** Inject and mount jss styles in React components.
1313
* **[django-react](https://github.com/markfinger/django-react):** Server-side rendering of React components for django apps.
1414
* **[react-engine](https://github.com/paypal/react-engine):** Composite render engine for isomorphic express apps to render both plain react views and react-router views.
1515
* **[react-render-visualizer](https://github.com/redsunsoft/react-render-visualizer):** A visual way to see what is (re)rendering and why.

content/docs/accessibility.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,13 @@ class OuterClickExample extends React.Component {
281281
return (
282282
<div ref={this.toggleContainer}>
283283
<button onClick={this.onClickHandler}>Select an option</button>
284-
{this.state.isOpen ? (
284+
{this.state.isOpen && (
285285
<ul>
286286
<li>Option 1</li>
287287
<li>Option 2</li>
288288
<li>Option 3</li>
289289
</ul>
290-
) : null}
290+
)}
291291
</div>
292292
);
293293
}
@@ -347,13 +347,13 @@ class BlurExample extends React.Component {
347347
aria-expanded={this.state.isOpen}>
348348
Select an option
349349
</button>
350-
{this.state.isOpen ? (
350+
{this.state.isOpen && (
351351
<ul>
352352
<li>Option 1</li>
353353
<li>Option 2</li>
354354
<li>Option 3</li>
355355
</ul>
356-
) : null}
356+
)}
357357
</div>
358358
);
359359
}

0 commit comments

Comments
 (0)