Skip to content

Commit 5bb3fc5

Browse files
Merge branch 'master' of https://github.com/reactjs/reactjs.org into sync-5849f604
2 parents 82a845b + 5849f60 commit 5bb3fc5

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
@@ -278,13 +278,13 @@ class OuterClickExample extends React.Component {
278278
return (
279279
<div ref={this.toggleContainer}>
280280
<button onClick={this.onClickHandler}>Select an option</button>
281-
{this.state.isOpen ? (
281+
{this.state.isOpen && (
282282
<ul>
283283
<li>Option 1</li>
284284
<li>Option 2</li>
285285
<li>Option 3</li>
286286
</ul>
287-
) : null}
287+
)}
288288
</div>
289289
);
290290
}
@@ -343,13 +343,13 @@ class BlurExample extends React.Component {
343343
aria-expanded={this.state.isOpen}>
344344
Select an option
345345
</button>
346-
{this.state.isOpen ? (
346+
{this.state.isOpen && (
347347
<ul>
348348
<li>Option 1</li>
349349
<li>Option 2</li>
350350
<li>Option 3</li>
351351
</ul>
352-
) : null}
352+
)}
353353
</div>
354354
);
355355
}

0 commit comments

Comments
 (0)