3 ms·
React !== React Native
by seattle_spring 9y ago
React !== React Native
- jonknee 9y agoWell, react-dom !== react-native. Both projects use core react.
- ofirg 9y agoHowever React == React Native evals as true due to type conversion (in ECMAScript projects with or without a patent grant are both considered 'truthy'). Really even === is not good enough, The only reliably why to test for it right now is to put a patent claim against FB inside a try-catch. * I am not a lawyer and this should not be taken as legal advice.