5 ms·
You don't have to use TypeScript if you don't want to: you can compile Haskell, Ocaml, Rust, F#, ... to javascript. This is quite efficient, especially if your
by toolslive 3mo ago
You don't have to use TypeScript if you don't want to: you can compile Haskell, Ocaml, Rust, F#, ... to javascript. This is quite efficient, especially if your backend is already in one of those languages. It saves you from creating the same abstraction twice in different languages.
- esafak 3mo agoHow does that work with JS frameworks like React, since most development takes place with them?
- toolslive 3mo agoit's not that different compared to using the FFI. The link below shows how it can work for Ocaml <-> TypeScript. https://github.com/ocsigen/ts2ocaml https://github.com/ocsigen/ts2ocaml