I've been working with RN using Views with styles added in the style tag, but yesterday I found out that I could add the same style but as a property, for example:
<View style={{marginTop: 20}} />
is the same as:
<View marginTop={20} />
I don't know why the docs didn't say anything about it.
Is it deprecated?
Thanks
