Max

Results 387 comments of Max

Just to be sure about the motivation on this change: aren't you supposed to know when you manipulate a color before manipulating it? Or do you have "random" color (string...

I totally understand your point. Thing is `48.->dp` has approximately the same amount of chars than `"48px"`. For `"#fff` vs `"#fff"->Color.fromString` or `"#fff"->Color.string` it's a big longer... (Thinking on my...

Ok that's a thing we can do I guess. Maybe an "approximate" codemod is better than no codemod. Maybe not a lot of people will have style( function similar to...

In View, we could simply add ```res // hitSlop prop accept number and edge inset object external hitSlop: float => edgeInsets = "" @obj external hitSlopObj: ( ~left: float=?, ~right:...

I am currently preparing this (to finally release 0.69). I am replacing View.edgeInsets (for now only deprecated) by a new rect type but I am wondering where I should put...

If I create `ObjectTypes` module, this will make us write `

The idea for hitSlop / hitSlopRect is because hitSlop prop accepts both float (a single value for each direction) or a `Rect.t`. Is this information changing your mind ?

So... - I have added a `Rect.t` type that will make more sense in next release, but used in... - `View.edgeInsets` (untouched for now), it will be deprecated in 0.70...

I guess we can do breaking changes. This will be painful to migrate but it will be more easy for new comers. Alternatively, since we have bindings, we could offers...