-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Description
Documentation doesn't mention the matrix
transform property, event if it's supported in react-native.
What is the problem?
I see that decomposedMatrix
and transformMatrix
are marked as deprecated in the doc. However following syntax is not mentioned at all:
<View style={{ transform: [{ matrix: some4x4Matrix }] }} />
So I'm not able to understand is this syntax deprecated / experimental / cross-platform ?
How can we address it?
If the matrix
transform is deprecated, it would be great see that mentioned explicitly.
If it's currently supported, and not intended to be deprecated, it would be great to mention that explicitly here. IMHO even if it would be just listed as { matrix: CATransform3D }
maybe with link to github file location, it would be a big improbement.
Why is it important?
Creating UI editor apps without using matrix is very hard. When you build a matrix inside your state, it would be great to just pass it to the UI component.
Who needs this?
Everyone who works with matrix transformations.
When should this happen (use version numbers if needed)?
Well, sooner is better :)