The only React Router set-up you will ever need

added by JavaScript Kicks
1/14/2020 10:24:41 AM

433 Views

We can easily duplicate the code in our Dashboard component into a new Settings component. But this will not only violate the DRY (Do not Repeat Yourself) principle but its also very unscalable. Imagine duplicating the same code every time for a new page needing the layout.


0 comments