Link vs Button for single-page experience
Hey everyone , I 'm building a dashboard and I was thinking to use <a > elements for the sidebar menu , to change the path of the page and depending on that , display the content for each section . Using <a > renders the whole page and the sidebar menu sometimes flicks for a milisecond . When I use <button > this doesn 't happen . What 's the recommended way to do this ? - ๐3