You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/7/en/part7c.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Many UI frameworks provide developers of web applications with ready-made themes
19
19
20
20
There are many UI frameworks that have React-friendly versions where the framework's "components" have been transformed into React components. There are a few different React versions of Bootstrap like [reactstrap](http://reactstrap.github.io/) and [react-bootstrap](https://react-bootstrap.github.io/).
21
21
22
-
Next, we will take a closer look at two UI frameworks, Bootstrap and [MaterialUI](https://material-ui.com/). We will use both frameworks to add similar styles to the application we made in the [React-router](/en/part7/react_router) section of the course material.
22
+
Next, we will take a closer look at two UI frameworks, Bootstrap and [MaterialUI](https://mui.com/). We will use both frameworks to add similar styles to the application we made in the [React-router](/en/part7/react_router) section of the course material.
23
23
24
24
### React Bootstrap
25
25
@@ -239,7 +239,7 @@ You can find the complete code for the application [here](https://github.com/ful
239
239
240
240
### Material UI
241
241
242
-
As our second example we will look into the [MaterialUI](https://material-ui.com/) React library, which implements the [Material design](https://material.io/) visual language developed by Google.
242
+
As our second example we will look into the [MaterialUI](https://mui.com/) React library, which implements the [Material design](https://material.io/) visual language developed by Google.
243
243
244
244
Install the library with the command
245
245
@@ -258,7 +258,7 @@ Then add the following line to the <i>head</i> tag in the <i>public/index.html</
258
258
259
259
Now let's use MaterialUI to do the same modifications to the code we did earlier with bootstrap.
260
260
261
-
Render the contents of the whole application within a [Container](https://material-ui.com/components/container/):
261
+
Render the contents of the whole application within a [Container](https://mui.com/components/container/):
262
262
263
263
```js
264
264
import { Container } from'@mui/material'
@@ -273,7 +273,7 @@ const App = () => {
273
273
}
274
274
```
275
275
276
-
Let's start with the <i>Notes</i> component. We'll render the list of notes as a [table](https://material-ui.com/components/tables/#simple-table):
276
+
Let's start with the <i>Notes</i> component. We'll render the list of notes as a [table](https://mui.com/material-ui/react-table/#simple-table):
277
277
278
278
```js
279
279
constNotes= ({ notes }) => (
@@ -315,12 +315,12 @@ import {
315
315
TableContainer,
316
316
TableRow,
317
317
Paper,
318
-
} from'@material-ui/core'
318
+
} from'@mui/material'
319
319
```
320
320
321
321
#### Form
322
322
323
-
Next, let's make the login form in the <i>Login</i> view better using the [TextField](https://material-ui.com/components/text-fields/) and [Button](https://material-ui.com/api/button/) components:
323
+
Next, let's make the login form in the <i>Login</i> view better using the [TextField](https://mui.com/material-ui/react-text-field/) and [Button](https://mui.com/material-ui/api/button/) components:
324
324
325
325
```js
326
326
constLogin= (props) => {
@@ -363,7 +363,7 @@ Remember to import all the components used in the form.
363
363
364
364
#### Notification
365
365
366
-
The notification displayed on login can be done using the [Alert](https://material-ui.com/components/alert/) component, which is quite similiar to Bootstrap's equivalent component:
366
+
The notification displayed on login can be done using the [Alert](https://mui.com/material-ui/react-alert/) component, which is quite similiar to Bootstrap's equivalent component:
367
367
368
368
```js
369
369
<div>
@@ -383,7 +383,7 @@ Alert is quite stylish:
383
383
384
384
#### Navigation structure
385
385
386
-
We can implement navigation using the [AppBar](https://material-ui.com/components/app-bar/) component.
386
+
We can implement navigation using the [AppBar](https://mui.com/material-ui/react-app-bar/) component.
387
387
388
388
If we use the example code from the documentation
389
389
@@ -415,7 +415,7 @@ we do get working navigation, but it could look better
415
415
416
416

417
417
418
-
We can find a better way from the [documentation](https://material-ui.com/guides/composition/#routing-libraries). We can use [component props](https://material-ui.com/guides/composition/#component-prop) to define how the root element of a MaterialUI component is rendered.
418
+
We can find a better way from the [documentation](https://mui.com/material-ui/guides/composition/#routing-libraries). We can use [component props](https://mui.com/material-ui/guides/composition/#component-prop) to define how the root element of a MaterialUI component is rendered.
0 commit comments