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!

Image for post
Image for post

Written by

πŸ€“ The physical therapist who writes JavaScript πŸ’ͺ Web Developer 😎 Mentor 🧠 DPT πŸ˜„ SEO Expert 😁 React πŸ˜† Jamstack πŸ—―οΈ Ask me anything πŸ‘‰ DoctorDerek.com πŸ‘ˆ

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store