ReactSecurity - Use Lazy Loading to Limit Access to Code

Published: 21 April 2020
on channel: Holodeck
5,839
129

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.


Watch video ReactSecurity - Use Lazy Loading to Limit Access to Code online, duration hours minute second in high quality that is uploaded to the channel Holodeck 21 April 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 5,839 times and liked it 129 visitors.