How to remove the default CRA react favicon?

null picture null · Dec 25, 2017 · Viewed 48.2k times · Source

I already remove the link in the head tag and still the favicon gets rendered, is there anyway this can be remove or change?

Answer

sudo bangbang picture sudo bangbang · Dec 28, 2017

Your favicon is in project_root > public > favicon.ico.

|
`--- public
     |
     `--- favicon.ico

Removing it is hard as browser generally uses a cached favicon if it doesn't find anything.

I'd urge you to change it. Just replace the favicon.ico file with an image of your choice. You can even rename a png to favicon.ico and use it. Make sure you do a hard refresh. You have to burst cache to see that change.

If you want to go all in on this, generate a favicon using https://www.favicon-generator.org/