Skip to content

Commit 5c1e01d

Browse files
authored
Merge pull request #4965 from n-ii-ma/master
fix: add missing verb
2 parents 91c3baa + fdc1c8e commit 5c1e01d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/nextjs.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export default function StoreProvider({
280280

281281
If you use Next.js's support for client side SPA-style navigation by using `next/navigation`, then when customers navigate from page to page only the route component will be re-rendered. This means that if you have a Redux store created and provided in the layout component it will be preserved across route changes. This is not a problem if you are only using the store for global, mutable data. However, if you are using the store for per-route data then you will need to reset the route-specific data in the store when the route changes.
282282

283-
Shown below is a `ProductName` example component that uses the Redux store to manage the mutable name of a product. The `ProductName` component part of a product detail route. In order to ensure that we have the correct name in the store we need to set the value in the store any time the `ProductName` component is initially rendered, which happens on any route change to the product detail route.
283+
Shown below is a `ProductName` example component that uses the Redux store to manage the mutable name of a product. The `ProductName` component is part of a product detail route. In order to ensure that we have the correct name in the store we need to set the value in the store any time the `ProductName` component is initially rendered, which happens on any route change to the product detail route.
284284

285285
```ts title="app/ProductName.tsx"
286286
// file: lib/features/product/productSlice.ts noEmit

0 commit comments

Comments
 (0)