See the full course at https://reactsecurity.io
It's common for an application to have routes that should only be accessible by users with a certain access level. By default, our React apps will ship code to power all of these routes to all users, but we shouldn't do that. We don't need to send absolutely all of the code for our apps to the client. Instead, we can selectively send the user the code they need when they need it. Doing so helps to improve the security posture for our React applications.
Let's see how to use lazy loading in conjunction with React Router to limit access to React code based on a user's access level.
Смотрите видео ReactSecurity - Use Lazy Loading to Limit Access to Code онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Holodeck 21 Апрель 2020. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 5,839 раз и оно понравилось 129 посетителям.