Christoph Knittel

Results 60 issues of Christoph Knittel

The just released BS 7.0.2-dev.1 with the latest refmt compiles ```reason type request; [@bs.obj] external request: (~method: string) => request = ""; Js.log2("request", request(~method="GET")); ``` to ```js console.log("request", { method_:...

This just cost me almost a day to figure out. I was upgrading and refactoring a large (ReScript) React Native app, and suddenly Metro Bundler was not picking up any...

Currently, the Github actions Windows build is disabled because 1. Building ninja from source fails because configure.py cannot find cl.exe ``` ninja.tar.gz not availble in CI mode Traceback (most recent...

@rickyvetter Following up our discussion on Discord: Consider the following external declarations for React component A: ```reason module A = { [@react.component] [@bs.module "a"] external make: (~myProp: bool=?) => React.element...

ReScript 10 will support records with optional fields. This would allow us to simplify a lot of things/move them closer to how they are done in JS. E.g., styles: Instead...

"end" is not a reserved word in ReScript, see https://rescript-lang.org/docs/manual/latest/reserved-keywords.

(Somewhat related to #120 which is about autocompletion of variants in the case of pattern matching.) There is another common situation where it would be nice to have autocompletion for...

enhancement

v10 beta formats as follows, note the inconsistency in the location of `(a, b)`: ```res do(() => receivedMessages->SortArray.stableSortBy((a, b) => DateUtils.compareDatesAsc(a.published, b.published) ) ) // With more nesting, the params...

Can we / do we want to preserve nested if branches, e.g.: ```rescript if a { b } else { // test if c { d } } ``` which...