From ES6 to Scala: Basics

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
  1. Laminar

    Simple, expressive, and safe UI library for Scala.js (by raquo)

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. scalajs-react

    Facebook's React on Scala.JS

    Japgolly has put a ton of time and care into https://github.com/japgolly/scalajs-react which is a complete React binding in scalajs. This paired with something like Diode (https://github.com/suzaku-io/diode) and you get a full frontend solution in scalajs.

  4. Converter

    Typescript to Scala.js converter

    ScalaJS is awesome. Really solid and mature project, can totally recommend.

    The only thing that can be annoying is when you want to have a typesafe interface and have to write a lot of adapters for javascript libraries.

    Fortunately there is even a project that can make use of typescript interfaces for those libraries, so that you can use them from ScalaJS more or less automatically: https://scalablytyped.org/

  5. tyrian

    Elm-inspired Scala UI library.

  6. Chimney

    Scala library for boilerplate-free, type-safe data transformations

    In my $dayjob we originally used Scala, but I pushed for a couple of new services to be written in TypeScript/Node as it was really hard to hire Scala developers. I'd say it worked well, we even took a somewhat functional approach to building things. We tried fp-ts but that was a bit hardcore (when you are trying to hire TypeScript developers who don't know functional programming), so just built Either and Option types which provided 99% of what we needed.

    There are still a few things I miss though:

    * Pattern matching and exhaustive checking. Using a switch statement it is possible to define a function that can emulate the compile-time exhaustive checking, but it's still rather weak compared to what you can do in Scala.

    * Implicits. Being able to define something that can convert say a UUID to a String or vice versa automatically just feels like magic, especially when dealing with data from third party systems.

    * Compiler macros and metaprogramming. It enables tools like Chimney (https://scalalandio.github.io/chimney/) to be built, which I don't think are possible with TypeScript right now.

  7. diode

    Scala library for managing immutable application model

    Japgolly has put a ton of time and care into https://github.com/japgolly/scalajs-react which is a complete React binding in scalajs. This paired with something like Diode (https://github.com/suzaku-io/diode) and you get a full frontend solution in scalajs.

  8. excoptional

    A fully typed, zero-dependency implementation of the functional programming Option object for JavaScript and TypeScript

    > I mean Scala because I guess it actually has it, but worth pointing out it's like 30 LOC to define one for JS, depending on how many convenience methods you want.

    Here's one I wrote: https://github.com/sbernheim4/excoptional

    I fully believe it to be one of the best Option implementations in JS/TS

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Tyrian – The Elm Architecture for Scala.js

    1 project | news.ycombinator.com | 29 Feb 2024
  • Designing an HTML Component system

    3 projects | /r/scala | 11 May 2023
  • Scala and WebAssembly?

    5 projects | /r/scala | 19 Oct 2021
  • The golden age of Kotlin and its uncertain future

    4 projects | news.ycombinator.com | 11 Jan 2024
  • At long last.. Tyrian (0.7.0) get's frontend routing!

    4 projects | /r/scala | 20 May 2023