VSCode + Prettier

React SEO

One of the most questions we have been asked? Can I use React for SEO? And the answer is: Yes - when you think about some facts.
Google introduced in their last Google I/O 2019 that the Google Bot crawls websites with executing JavaScript. But in our latest test this was not always the case.

For pages, which are relevant for SEO, we modified our build process and created for each of our routes in the React application a static html file with react-snap.
To test how your page will be seen from Google you can enter it in the Google mobile friendly test.

Perils of functional CSS

Interesting read about the pros and cons of functional/atomic CSS approaches. I have to admit that I’m not really a big fan of the concept, preferring a more semantics- and components-based approach. And at the end I’m happy to see the author seems to agree.

One interesting observation in the conclusion is that most (or all?) functional CSS libraries are built by backend developers, who seem to struggle with some fundamental concepts of CSS, like its cascading nature and specificity of selectors.

I agree that a functional approach might be helpful, if you or your team of backend and/or full-stack developers lack the knowledge or expertise using CSS. Since I am now a full-stack myself, but come from the frontend, I would strongly recommend against those hardcore functional CSS libraries. Instead try to develop the necessary CSS skills in your team, but not necessarily everyone, though.

The other interesting thing is the mention of the utilities-first approach, trying to combine the best of both seemingly contradictory approaches. I will definitely do some research on that one.