Shallow object copies in JavaScript and how they are useful with React.memo (memoized components)

preview_player
Показать описание
slides:

previous video:

shallowEqual function from react:

Must-read links:

Рекомендации по теме
Комментарии
Автор

you really seem to understand these concepts in depth I loved it man event though I didn't understood it completely I completed your react-redux and redux-toolkit playlist and Im moving on with your createAsyncThunk and createEntityAdapter playlist.

sahilkc
Автор

I am working on a react application which gets some data from an api and displays the data in a table. Clicking on the table row navigates to a details page and shows information about the clicked row. Once coming back to the home page(table), the table needs to get loaded again, which calls the api. Instead I need to cache the loaded table so that it doesn't need to call the api everytime after clicking on the row and coming back. How can this be done.

NguyenAnhTuan.
visit shbcf.ru