I'm still a student so this might be a stupid question.
For a school project we need to make a programm that does some speciffic stuff related to boats.
the programming language we all feel most comfortable with is React.tsx but we where wondering if it's possible to make a standalone programm( so not in a browser) in React.tsx
React.tsx itself is not a programming language. React is rather a library and the programming language you use is Javascript (Incase of .tsx it's TypeScript)
If you are already familiar with React you can try React Native for Windows + MacOS. It helps you create Native Apps with React.
https://github.com/microsoft/react-native-windows
https://microsoft.github.io/react-native-windows/docs/getting-started
Yes you can, you can use electronJS
https://www.electronjs.org
Related
Sorry for this idioit question. I’m a beginner developer of React. I know this library https://github.com/necolas/react-native-web can compile React Native runs as PWA, so does it mean that I just need to write the codes one time for both iOS and Android app and PWA?
Do I understand correctly?
The answer is a little bit more complicated but +/- yes. Mostly you write one code and its working everywhere, but there are platform needs that are different and you need to cover it sometimes differently.
I'm trying to find a better way to write and compile my React-based code.
For a class, we wrote our code primarily in Expo.io, which emulated a mobile experience as well as optionally connecting to our phones. I did not find this to be very usable due to the automatic error tagging.
I'm working on a small web application in React and I want it to be in two languages. I've seen several localization libraries like react-i18next and react-intl but I'm hesitant to install something maybe too big for such a simple application. Is there a lightweight library to do simple localization or should I look into a more straightforward approach like a string replacing component?
Thanks!
If it is a small project you probably do not need it.
However, it would be a really good experience to write your own localization component, integrate it with redux and opensource it.
Also, there are some simplified versions already available so you can reuse it and/or contribute into.
Here is a simple react-localization implementation.
I am planning to learn react.js before JavaScript. I know that react is built off of js, but would there be any problems if i just jump straight into react?
No you can't learn React before JavaScript. React is a JS library.
From React documentation on "A Note on JavaScript":
React is a JavaScript library, and so it assumes you have a basic
understanding of the JavaScript language. If you don’t feel very
confident, we recommend refreshing your JavaScript knowledge so you
can follow along more easily.
One thing I learned as a student who likes to jump around from one topic to the next, is that a lot of times while you are coding a project, it's going to get stuck at some point. If you don't understand what is coded in whatever library of code, that you're using, you won't know how to fix it. I agree, you should learn JavaScript before React.
I'm just learning React Native for a cross platform app I am building.
I just need to know if it is (a) possible (b) supported (c) relatviely simple to mix native, platform specific code (java, swift, objc, etc.) into a react native project.
I want to do some pretty specific things with camera/hardware that will require writing some native code.
Hoping someone can point me in the right direction or at least tell me that what I want to do is supported by React Native before I dive in too far.
Yes to a, b, and c. See the official guides for iOS and Android.