Introduction
Does Stylesheet.create({...}) has any performance benefit ?
Details
as it's stated in a comment in the Stylesheet.js, refer as id is not implemented yet.
It also allows sending the style only once through the bridge. All subsequent uses are going to refer an id (not implemented yet).
So is it mandatory to use Stylesheet.create and add an overhead?
Discussion points
if it's not mandatory, maybe we can mention it in the React Native Doc
Introduction
Does
Stylesheet.create({...})has any performance benefit ?Details
as it's stated in a comment in the
Stylesheet.js, refer as id is not implemented yet.So is it mandatory to use Stylesheet.create and add an overhead?
Discussion points
if it's not mandatory, maybe we can mention it in the React Native Doc