2 ms·
I too work in React Native sometimes. Most of the React Native code I have seen is just presenting customized widgets to the user, and being a front-end for an
by unqueued 6y ago
I too work in React Native sometimes.
Most of the React Native code I have seen is just presenting customized widgets to the user, and being a front-end for an API.
It is difficult to compile a RN project from a year ago, and very difficult for a three year old RN project.
By contrast, I wrote a paint program in Java almost 15 years ago, and it ran comfortably on a 486DX4/100 machine. And it will run without any modification on a computer today.
git clone https://github.com/unqueued/SimplePaint
cd SimplePaint
make
java SimplePaint
Generating a jar file (make jar) creates a distributable that is 26K.
I've written fairly sophisticated business logic in Visual Basic 6, and I remember how much less cognitive load there was developing it. In the early 2000s, it was no problem to interface with a variety of different databases and APIs.
And like Java, most of these programs will probably run on Windows 10 with no modification.
One thing I really miss is how much less room there was for things to go wrong. Even in Visual Basic, the primitive threading support was so much simpler. Even when dealing with data streams from various sockets, handles, and the GUI, I spent maybe 1/10th the time as with React Native.
Of course I appreciate that React Native can do some unique and cool stuff. But I find that in practice what it is used for is stuff which could have been done so much better with other technologies.