Post

In ReScript, pipes are normally used for chaining fn calls instead of method chaining with dots like in JS. This is a common gotcha for JS/TS devs who come to ReScript. To ease the transition we're experimenting with letting the editor tooling complete pipes also via dots.

A pipe is of course still inserted in the code. We think this is going to make it much easier as a new comer to ReScript to connect the dots (no pun intended) of the JS/TS way (using dots for method chaining) and the ReScript way (using pipes to chain any function).

0 reposts4 likes

No replies yet.