Dynamic sidebar menu in only 50 lines? 💯✔🔥🌡#JavaScript
But why unregister the Service Worker?
This JavaScript sidebar menu is a great example of recursion:
“Create a Modern Dynamic Sidebar Menu in React Using Recursion” by jsmanifest https://link.medium.com/pa2tVAJAM1
I love this quote:
“You will see by the end of this post that this seemingly complicated sidebar is actually under 50 lines of code. What?!” — jsmanifest
Why did you import the ServiceWorker and unregister it? You said you were trying to focus on just the component, and so how does this help?
Just curious 😊
Thanks for the nice article!