Files
react.dev/examples/update-on-async-rendering/enabling-strict-mode.js
Brian Vaughn f632f220c6 Wording changes for update-on-async and strict-mode
Incorporates most of Sophie's feedback.

Changes update-on-async references to 16.3 to be future tense (since this blog post will be released before 16.3). Changes strict-mode references to be past-tense (since this will be a docs page instead of a blog post).
2018-02-13 10:49:40 -08:00

19 lines
337 B
JavaScript

import React from 'react';
function ExampleApplication() {
return (
<div>
<Header />
{/* highlight-next-line */}
<React.StrictMode>
<div>
<ComponentOne />
<ComponentTwo />
</div>
{/* highlight-next-line */}
</React.StrictMode>
<Footer />
</div>
);
}