I'm still getting the hang of ReactJS, and I've been facing some challenges with making React components responsive.
For my app, I am utilizing react-tabs. It works well when the screen is wide, but I need to switch to a hamburger panel layout when it's on mobile size.
How can I achieve this? Should I continuously monitor the width within the component and use a conditional if-else statement to render either the Tabs or Hamburger panel component?
I know there must be a simple solution for this, but I'm struggling to figure it out.