// Switches React for server-side rendering

let React

// If running on the server, import react-native-web for SSR instead of
// react-native
if (process) React = require('react-native-web')
else React = require('react-native')

export default React

@@ -56,104 +56,548 @@
 %0A// 
-If running on the server, import react-native-web for SSR instead of%0A// react-native%0Aif (process
+HACK if(process) means if(we're running in node aka the server)%0A// Need to check if we're running in server for SSR--SSR needs%0A// react-native-web, not react-native.%0A// We could have the consumer (the app) compile carbon-ui, but%0A// don't want to have that requirement.%0A// react native packager also runs in node, so process will also%0A// exist in react-native. To make sure we're in the server and not%0A// react-native, we add !global.__BUNDLE_START_TIME__, which the%0A// react native packager sets%0Aif (process && !global.__BUNDLE_START_TIME__
 ) Re

Fix universal