React rendering on different viewport
I'm currently making a custom Navbar with drop-downs, with should behave differently depending on a viewport, is it better to have same navbar written twice with html and hidden with css or rather change functionality of one depending on a viewport with React?
2 Replies
I usually go for the css approach. Deciding what should be rendered using js to operate on screen size is less elegant to me
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View