How to use material UI ( V5 ) Link component in Gatsby to navigate internally


I’m trying to use the Material UI Link component with gatsby. I want to use sx prop to style the Link component and I’m trying to navigate between my gatsby pages

My current code

I don’t want to use href because it calls the server and rerenders the whole thing

my current pages

please help

Source: React – Stack Overflow

November 13, 2021
Category : News
Tags: gatsby | material-ui | reactjs

Leave a Reply

Your email address will not be published. Required fields are marked *

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.