mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
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).
19 lines
337 B
JavaScript
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>
|
|
);
|
|
}
|