4 ms·
Do you have a link you want to share to one of your apps that uses React? I'd like to know where the threshold for when an app is considered complex is. I've a
by Svenskunganka 10y ago
Do you have a link you want to share to one of your apps that uses React? I'd like to know where the threshold for when an app is considered complex is.
I've asked other React developers the same before, but so far the links I've seen are of "apps" that could be made with tops ~120 lines of vanilla JS... :|
- RubenSandwich 10y agoHere is an open source React Native app that I recently did for The Andy Warhol Museum: https://github.com/CMP-Studio/TheWarholOutLoud https://github.com/CMP-Studio/TheWarholOutLoud. (Some of it's more complex features: Floor and region detection through BLE beacons and an audio player that slowly learns preferences and rearranges content.) React Native targets native views instead of the DOM, but other then that it's conceptually and technically very similar to React and should serve as a example of a complex app using React ideas.
- simplify 10y agoI've played around with react native, and I will say it feels nothing like normal react (where "normal" is writing for a web app). The only thing that is similar is syntax. Everything else is new/different: elements, styling, interaction listening, etc.
- pests 10y agoThis is the thing most people confuse about React. The similarity you see is React, the differences are the implementation for that platform. The elements, styling, and interaction listening is React for Web. The equivalent of the above in React Native is... React for native. Remove all that stuff specific to each platform. What is left is React. Honestly React could be considered it's own design pattern [or a renaming of existing], with fb/ReactJS and fb/ReactNative being the most well known implementations.
- cloverich 10y agoFor the example in question its an internal company tool, so can't link it. Its about 20k loc, excluding css (etc.). Most of the app's i've been working on (for work or side projects) are in the 10k-100k area. My general stance on it is there's a difference between a static content site and an application -- if its the latter your almost always going to be better off going with something like React.
- sgrove 10y agoPrecursor would be very challenging to build in ~120 lines of vanilla JS: https://precursorapp.com https://precursorapp.com
- KurtMueller 10y agoPrecursor is built with clojurescript and om, correct?
- dwwoelfel 10y agoYep! Code is here https://github.com/PrecursorApp/precursor https://github.com/PrecursorApp/precursor
- KurtMueller 10y agoOh, wow, this is just awesome. Does the Clojure community know about this repo?