Skip to content

Commit 7ba64ac

Browse files
authored
Merge pull request meteor#52 from vit0rr/update-old-react-link
2 parents 90c01b4 + ed7270a commit 7ba64ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tutorial/simple-todos/06-filter-tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const App = () => {
3232
..
3333
```
3434
35-
You can read more about the `useState` hook [here](https://reactjs.org/docs/hooks-state.html).
35+
You can read more about the `useState` hook [here](https://react.dev/reference/react/useState).
3636
3737
We recommend that you add your hooks always in the top of your components, so it will be easier to avoid some problems, like always running them in the same order.
3838

tutorial/simple-todos/07-adding-user-accounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ We can accomplish that by returning the `LoginForm` component when we don't have
109109

110110
You should first wrap the 3 components (form, filter, and list) in a `<Fragment>`, Fragment is a special component in React that you can use to group components together without affecting your final DOM, it means without affecting your UI as it is not going to introduce other elements in the HTML.
111111

112-
> Read more about Fragments [here](https://reactjs.org/docs/fragments.html)
112+
> Read more about Fragments [here](https://react.dev/reference/react/Fragment)
113113
114114
So you can get your authenticated user or null from `Meteor.user()`, you should wrap it in a `useTracker` hook for it to be reactive. Then you can return the `Fragment` with Tasks and everything else or `LoginForm` based on the user being present or not in the session.
115115

0 commit comments

Comments
 (0)