As I could not find simple stupid things here, I had to open this topic.
I started to learn React just a week ago, I already knew Javascript quite well, and I thought learning React could be plus.
Until react, used to be coding using XAMPP htdocs section for getting the output of my codings, and used Notepad++ for creating and editing the javascript coding.
About me:
I am a freelancer, so I use all I learn for professional purpose.
About my past:
I used for many years only MS Access and VBA for stuff I did at MS Access during 23 years.
10 years ago, after discovering Javascript and than My SQL and PHP I realised that microsoft things are just too simple. As my background is business management, it took me this much time to realize. Well anyway I am happy learning new things, and now want to go further and further.
So, here is my question; does working with react will give me a plus in my works;
will it speed up my works?
will it simplify the stuff I do?
My questions may seem quite simple stupid, but as I am not a super duper pro in software, I wrote things as I could understand them, as I am not super duper clever, if you write your answer with too much tech stuff I will surely not understand. Sorry for that. Happy coding to all.
If you are currently writing applications that work primarily in the browser, and you aren’t using a frontend JS framework, using a framework may speed up your work/simplify it.
This is for the basic reason that if you’re writing by hand the things that React already does, then using React immediately removes the large chunk of time and effort required to do that.
Tradeoff is that you now need to learn another API (but React has a tiny API) and that you have to structure things in a very specific way.
Thanks for the quick answer, I googled trade off / tradeoff api, and got pretty much weird responses about it. If you can give me a link where I can look at what it is, I will really appreciate.
So the tradeoff is you have to learn React and how to use it properly. It can feel a little weird at first but the benefits should become apparent as you use it (and the downsides).
If you are a one-man team you might also look at other frameworks before you commit to React. Such as Svelte, for example. Svelte has a very simple API which a lot of people appreciate.