KyleJune / deno-tailwind-ui-react-example

An example of how you can use Tailwind UI and React with Deno
20 stars 5 forks source link

Replace react-helmet with react-helmet-async #12

Closed KyleJune closed 2 years ago

KyleJune commented 2 years ago

Because of an unrelated issue causing main.js to not get served when hosted on deno deploy, I noticed the title was sometimes incorrect when navigating between pages. The react-helmet-async readme has more information why react-helmet is not good for SSR. react-helmet-async appears to be used more than react-helmet and comes with a provider.

https://github.com/staylor/react-helmet-async#readme