Sander

Results 42 issues of Sander

An experiment to see if this could be a better alternative to easy-format.

Solves #2695. Makes it possible to use: ``` let y = Promise.Ops.( let* x = Js.Promise.resolve(42); Js.Promise.resolve(x * 2); ); ``` Printing isn't perfect, but good enough for now.

Prints: ``` let EnterpriseContactForm.{ personFirstNameField, personLastNameField, personEmailField, companyNameField, countryField, companySizeField, contactReasonField, submitFormState, onSubmit, } = formData; ``` as ``` let EnterpriseContactForm.{ personFirstNameField, personLastNameField, personEmailField, companyNameField, countryField, companySizeField, contactReasonField, submitFormState, onSubmit,...

``` type align = [ | `Start | `End | `Center]; ``` to ``` type align = [ | `Start | `End | `Center ]; ``` Solves: https://github.com/reasonml/reason/issues/2706

Make &, &&, |, ||, ++, and :: operators left associative. The tradeoff here is between JS and OCaml. Here’s the precedence list of JS: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Operator_Precedence#table and here of OCaml:...

See https://github.com/reasonml/reason/issues/2589.

For 60fps animations it's wiser to skip React's rendering pipeline, and directly modify the style attribute of elements. ## How should it work ``` render() { return Animation.render(this, () =>...

Borrow from here for now: https://github.com/iamralpht/iamralpht.github.io/tree/master/physics Use npm package when available. Syntax-wise it should be something like: ``` fooBarAnimation: Animation.create({ '0ms': { blockA: { left: 0, top: 0, width: 0,...

See: https://gist.github.com/SanderSpies/dc4e2a5ca1f95b3d2b26