Midway clean during compilation makes compilation fail
I think I managed to solve this by using “^x.y.z” in all packages. I released minor versions of all the packages that instead of requiring specific version, use the compatible caret (e.g "rescript":...
View ArticleCreating an UI library for ReScript
Broken link? Maybe update the link if it’s broken? This was a top Google result for me. Oh, the lib is actually not maintained anymore. Got it.
View ArticleAwait on expression not in an async context after migratting to v11.0.1
github.com/rescript-lang/rescript-compiler Await on expression not in an async context after migratting to v11.0.1 opened 10:10AM - 29 Jan 24 UTC Mng12345...
View ArticleAwait on expression not in an async context after migratting to v11.0.1
Just posting on the issue tracker is enough, no need to cross post this to the forums as well.
View ArticleChrome Ext with ReScript React videos
Reusable Description Snippets Editor Youtube Studio Chrome Extension now i can add and edit snippets. figuring out ports and storage was
View Article[ANN] rescript-edgedb - Use EdgeDB with full type safety in ReScript
@zth Thx a lot for this amazing library, I plan to return to React (from SolidJs) in order to benefit from the new Rescript version (since it’s my favorite langage on the web), and I also use EdgeDB...
View ArticleHow to make genType work nice with built-in/standard types?
I think publishing genType output might be a good idea. I’ve done it for rescript-schema to make the users life easier https://github.com/DZakh/rescript-schema/blob/main/RescriptSchema.gen.ts. There...
View ArticleWhat keep you guys using Rescript?
Inspired by the comment I’ll add one more point in favor of ReScript: You don’t need a lot of tooling to make your code safe. No more prettier and scary eslint configs.
View ArticleIs this node error something I'm doing?
Unless they have a build step, which they probably do.
View ArticleWhat keep you guys using Rescript?
This 100%! You can get TS to a place where it’s decent to work with. You just need to install ts-pattern, fp-ts, ts-essentials, eslint, and prettier. Then make sure you have all of the settings maxed...
View ArticleI'm working on some bindings for a Remix app and I could use some help with a...
I finally found my first use case for a functor. Here’s my goal. Remix has a loader function and a useLoaderData function. With TypeScript you add in a typeof loader to the useLoaderData and the...
View ArticleI'm working on some bindings for a Remix app and I could use some help with a...
Ah, I figured it out! I moved the binding to json into MakeLoader and then change up how I pass the data to json. // Remix.res module Loader = { type t<'a> = unit => promise<'a> }...
View ArticleWhat keep you guys using Rescript?
That’s all right! But the DX of editor of ts is very ergonomic, which keeps me using ts all over the time.
View Article[RFC] Generic JSX transform
This is now released (as experimental) in 11.1.0-rc.1. Relevant docs here: JSX | ReScript Language Manual
View Article[RFC] Support for tagged template literals
I’m testing this out with Fauna and I am hitting a snag. GitHub GitHub - fauna/fauna-js: FQL v10 Javascript Driver FQL v10 Javascript Driver. Contribute to fauna/fauna-js development by creating an...
View Article[RFC] Support for tagged template literals
You need @taggedTemplate on the external binding.
View Article