You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there any plans on abstracting platform differences away?
For React.js I use React.findDOMNode, but also offsetLeft, offsetWidth, etc. Obviously these won't work inside React Native - so I was wondering if this is just how things are, or if there is some plan for abstracting this away?
The text was updated successfully, but these errors were encountered:
For measurement, we have an asynchronous API (we can't have anything synchronous in React native), that we designed to be polyfill-able in the browser. Ideally we want React Native to be a (good) subset of the browser. But in this case, since the browser doesn't have an API we came up with our own.
Are there any plans on abstracting platform differences away?
For React.js I use React.findDOMNode, but also offsetLeft, offsetWidth, etc. Obviously these won't work inside React Native - so I was wondering if this is just how things are, or if there is some plan for abstracting this away?
The text was updated successfully, but these errors were encountered: