[ANN] Type safe PostgreSQL in ReScript through pgtyped-rescript
This is one of those things that it’d be fantastic if someone would be willing to contribute to. Write a series of blog posts together with various authors of useful tools and libs in the community...
View Article[ANN] rescript-rest - RPC-like client, contract, and server implementation...
I recorded a video where I talk about the library in details Building and consuming REST API in ReScript with rescript-rest and Fastify
View ArticleMonorepo with bun and nx, issue with rescript -w
I just happened to try to use bun (instead of fully working yarn 1.22) to install dependencies for a monorepo. I didn’t get rewatch to run. It complained about the missing linux binary, which does not...
View ArticleMonorepo with bun and nx, issue with rescript -w
Maybe you have to add it as trusted dependency? Bun bun add – Package manager | Bun Docs Add dependencies to your project.
View ArticleAwesome Functional Programming Jobs
I created a list of all companies that hire for jobs with functional programming languages. I know you all would prefer working with ReScript, but I guess an OCaml job would still be preferable over a...
View ArticleMonorepo with bun and nx, issue with rescript -w
Ah, you’re right. Thanks. I should probably have read the docs or something.
View ArticleWeb frontend frameworks ReScript can work with in 2024?
Hey, @zth I tried using res-x as a part of monorepo that is built with Rewatch. The problem is Rewatch seems to want to panic during the build. I’m guessing it does not like having both react and hjsx...
View ArticleWeb frontend frameworks ReScript can work with in 2024?
Had the same issue. Opened a ticket a while ago. github.com/rescript-lang/rewatch Custom JSX module opened 06:50PM - 17 Jul 24 UTC dkirchhof Hey, I want to use rewatch in a project with a custom jsx...
View Article[ANN] Type safe PostgreSQL in ReScript through pgtyped-rescript
Hi @zth, one user here. I found this package, I’m starting to use it in a project and I find it great. My experience is that with this approach, almost every database error can be caught in compile...
View ArticleUsing Rescript with Preact?
FYI this is now possible since v11.1: ReScript Documentation JSX | ReScript Language Manual JSX syntax in ReScript and React
View ArticleGive your feedback about rescript-webapi!
Hello again, As we develop these new bindings, I’ve paused the generation process. Moving forward, we will accept manual tweaks to the bindings. A good example can be found here: Improve fetch binding...
View ArticleWeb frontend frameworks ReScript can work with in 2024?
@TomiS they fixed the rewatch bug. Unfortunately now the compiler complains about jsx syntax (“The value div can’t be found”). Don’t know if it has something to do with my general monorepo setup. If...
View ArticleUsing Rescript with Preact?
I have a project I’m working on using Preact, Deno, and Fresh. it’s pretty easy to set up.
View ArticleGeneral build overview/tutorial for ReScript projects?
Hi there! I’m a developer with a lot of backend experience with functional languages, and frontend experience with Elm/ClojureScript. Part of what’s been great with Elm and ClojureScript (when set up...
View ArticleGeneral build overview/tutorial for ReScript projects?
You raise great points, and I’m working on writing up some tutorials and improving the getting started docs. You said a single page app without React, so just vanilla JS? Are you just loading in an...
View ArticleGeneral build overview/tutorial for ReScript projects?
You said a single page app without React, so just vanilla JS? Are you just loading in an HTML file, or are you hoping for some type of dev server with hot reloading that will also bundle the site?...
View ArticleGeneral build overview/tutorial for ReScript projects?
The “experimental” part just means it isn’t done or part of the compiler yet. It’s actually great if you try and use it and provide feedback. We want to make sure it’s easily adoptable to newcomers,...
View ArticleGeneral build overview/tutorial for ReScript projects?
I’ve been poking at this trying to come up with some ideas, and I have a few follow up questions and thoughts. Do you want a single HTML file that just loads in JS? You could do this with Parcel and...
View ArticleQuestion about variables in module behavior
I’m trying to understand whether or not this is intended behavior: I noticed that values in modules aren’t necessarily scoped to their own module. For example, if I call make twice in the module...
View ArticleQuestion about variables in module behavior
I understand that I’m probably doing something weird here. I imagine it’s better to have the make function create an array in its own scope to return then other functions could be created that accept...
View Article