How to leverage Scala with scala.js to write frontend as functional programmers would do.

It happens to all of developers, to crawl out of basement of [B]ackend development into a shiny and fancy world of [F]ronted. Does it mean that we have to switch to frontend technological stack and leave our comfy functional scala tools?Let's find out how to leverage Scala with scala.js to write frontend as functional programmers would do.
Let's take a look at the issues that enums have in Scala 2 and whether we found the Holy Grail with the introduction of Scala 3.
A blueprint and approach for building end-to-end, full-stack applications in Scala 3
Understanding the exact properties that disqualify a data type from being an instance of a given abstraction turns out to be surprisingly helpful