![Should we declare React functional components with a const or a function?](/static/76354c92512a1b9323dfd67914f71127/2244e/feature.jpg)
Should we declare React functional components with a const or a function?
If you have been writing React functional components for a while now, you may have encountered two ways of declaring a component - an arrow function or a function declaration.
Author, developer, designer & photographer
If you have been writing React functional components for a while now, you may have encountered two ways of declaring a component - an arrow function or a function declaration.
The future of SEO and search ranking algorithms are now in heavy favour of static or server-side rendering. This means building static or server-side rendered apps instantly gain advantages in rankings.