Modern React From The Beginning - Episode 12: Adding A Delete Action

Опубликовано: 12 Май 2020
на канале: CodingTheSmartWay
914
25

In the last episode we’ve introduced the useReducer hook to manager out courses state in App component. So far, we’ve only implemented one action type in our reducer function: SET_COURSES. In this episode we’re going to enhance the reducer function by introducing another action typer for deleting a single course. Furthermore we’re implementing the necessary changes to add a Delete button and a corresponding click event handler function which is used to dispatch the new action type.

This is a CodingTheSmartWay.com tutorial.

---------------------
Musik:
Night Owl by Broke For Free is licensed under a Creative Commons Attribution License.
(http://freemusicarchive.org/music/Bro...)


#react #reactjs #javascript #frontend #webdevelopment


Смотрите видео Modern React From The Beginning - Episode 12: Adding A Delete Action онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь CodingTheSmartWay 12 Май 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 914 раз и оно понравилось 25 людям.