Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/blog/2025/02/14/sunsetting-create-react-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ import {RouterProvider, createBrowserRouter} from 'react-router';
import Home from './Home';
import Dashboard from './Dashboard';

// ✅ Each route has it's own URL
// ✅ Each route has its own URL
const router = createBrowserRouter([
{path: '/', element: <Home />},
{path: '/dashboard', element: <Dashboard />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -2791,7 +2791,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -3985,7 +3985,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -5247,7 +5247,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -6519,7 +6519,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -7840,7 +7840,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -9167,7 +9167,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -10482,7 +10482,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -11853,7 +11853,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down Expand Up @@ -13191,7 +13191,7 @@ export default function Page({ heading, children }) {
</div>
</div>
{/* Opt-out of ViewTransition for the content. */}
{/* Content can define it's own ViewTransition. */}
{/* Content can define its own ViewTransition. */}
<ViewTransition default="none">
<div className="bottom">
<div className="content">{children}</div>
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/react/StrictMode.md
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ li {

</Sandpack>

Now on inital mount in StrictMode, the ref callbacks are all setup, cleaned up, and setup again:
Now on initial mount in StrictMode, the ref callbacks are all setup, cleaned up, and setup again:

```
...
Expand Down
10 changes: 5 additions & 5 deletions src/content/reference/react/legacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ These APIs are exported from the `react` package, but they are not recommended f
These APIs were removed in React 19:

* [`createFactory`](https://18.react.dev/reference/react/createFactory): use JSX instead.
* Class Components: [`static contextTypes`](https://18.react.dev//reference/react/Component#static-contexttypes): use [`static contextType`](#static-contexttype) instead.
* Class Components: [`static childContextTypes`](https://18.react.dev//reference/react/Component#static-childcontexttypes): use [`static contextType`](#static-contexttype) instead.
* Class Components: [`static getChildContext`](https://18.react.dev//reference/react/Component#getchildcontext): use [`Context`](/reference/react/createContext#provider) instead.
* Class Components: [`static propTypes`](https://18.react.dev//reference/react/Component#static-proptypes): use a type system like [TypeScript](https://www.typescriptlang.org/) instead.
* Class Components: [`this.refs`](https://18.react.dev//reference/react/Component#refs): use [`createRef`](/reference/react/createRef) instead.
* Class Components: [`static contextTypes`](https://18.react.dev/reference/react/Component#static-contexttypes): use [`static contextType`](#static-contexttype) instead.
* Class Components: [`static childContextTypes`](https://18.react.dev/reference/react/Component#static-childcontexttypes): use [`static contextType`](#static-contexttype) instead.
* Class Components: [`static getChildContext`](https://18.react.dev/reference/react/Component#getchildcontext): use [`Context`](/reference/react/createContext#provider) instead.
* Class Components: [`static propTypes`](https://18.react.dev/reference/react/Component#static-proptypes): use a type system like [TypeScript](https://www.typescriptlang.org/) instead.
* Class Components: [`this.refs`](https://18.react.dev/reference/react/Component#refs): use [`createRef`](/reference/react/createRef) instead.
2 changes: 1 addition & 1 deletion src/content/versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ For versions older than React 15, see [15.react.dev](https://15.react.dev).
- [The Road to 1.0](https://legacy.reactjs.org/blog/2014/03/28/the-road-to-1.0.html)
- [React v0.11.1](https://legacy.reactjs.org/blog/2014/07/25/react-v0.11.1.html)
- [React v0.11.2](https://legacy.reactjs.org/blog/2014/09/16/react-v0.11.2.html)
- [Introducing the JSX Specificaion](https://legacy.reactjs.org/blog/2014/09/03/introducing-the-jsx-specification.html)
- [Introducing the JSX Specification](https://legacy.reactjs.org/blog/2014/09/03/introducing-the-jsx-specification.html)

**Releases**
- [v0.11.2 (September 2014)](https://github.com/facebook/react/blob/main/CHANGELOG.md#0112-september-16-2014)
Expand Down