Show HN: Clothes shopping app UI built in React Native
1–10 of 54 posts
Re: Show HN: Clothes shopping app UI built in React Native
#2Why'd you pick react native?
Re: Show HN: Clothes shopping app UI built in React Native
#3I was under the impression React uses the browser DOM (or virtual DOM of course) to render its components...wouldn't that mean it can run on the desktop in a browser?
Re: Show HN: Clothes shopping app UI built in React Native
#4I am wrong to wonder why this doesn't run in a browser, or does it? I was under the impression React uses the browser DOM (or virtual DOM of course) to render its components...wouldn't that mean it can run on the desktop in a browser?
Re: Show HN: Clothes shopping app UI built in React Native
#5Anyone know of good resources or proper search terms for “show me fully executed applications built on X language/stack within the past year”
Re: Show HN: Clothes shopping app UI built in React Native
#6I am wrong to wonder why this doesn't run in a browser, or does it? I was under the impression React uses the browser DOM (or virtual DOM of course) to render its components...wouldn't that mean it can run on the desktop in a browser?
In the past, ReactJS and ReactDOM were completely interchangeable. However, some time ago now React split the DOM specific parts of the library into ReactDOM which allowed the non-DOM specific parts of the library to be shared more easily across different rendering targets. Some examples:
* android (via react-native)
* ios (via react-native)
* canvas https://github.com/Flipboard/react-canvas
Since the release of React Native there have been a couple of interesting projects that allow developers to use the same APIs as React Native, but rendering to the DOM instead of android/ios native views.https://github.com/necolas/react-native-web is a great production ready lib but requires a bit of setup to get it working with a react-native project.
https://github.com/vincentriemer/react-native-dom is an extremely cool experimental idea to bring react native projects more seamlessly onto the web. It's still in early stages and has some significant tradeoffs compared to react-native-web. For one, it includes a webassembly implementation of Yoga (https://yogalayout.com/) which makes layout much more consistent among ios/android/web but at the cost of delivering more JS upfront to the browser.
Re: Show HN: Clothes shopping app UI built in React Native
#7I am wrong to wonder why this doesn't run in a browser, or does it? I was under the impression React uses the browser DOM (or virtual DOM of course) to render its components...wouldn't that mean it can run on the desktop in a browser?
I'm not exactly sure either, but if I understand correctly, react native is actually not running under web view, hence called "react native"?
Re: Show HN: Clothes shopping app UI built in React Native
#8Re: Show HN: Clothes shopping app UI built in React Native
#9I am wrong to wonder why this doesn't run in a browser, or does it? I was under the impression React uses the browser DOM (or virtual DOM of course) to render its components...wouldn't that mean it can run on the desktop in a browser?
Re: Show HN: Clothes shopping app UI built in React Native
#10I love exploring structure and approach in codebases written recently, it’s one of the best ways to learn a new language or mentally refresh on what new libraries and tools exist. Anyone know of good resources or proper search terms for “show me fully executed applications built on X language/stack within the past year”