r/learnreactjs • • Oct 30 '19

I finally created my first ReactJS app

I have been learning on my own for the past 8 months now. First I made myself comfortable with HTML, CSS and then spend a lot of time on JS. Last month I started learning ReactJS on Udemy and then I thought I should give it a try by creating an app as I had finished a project by following the videos.

Honestly, the first 2 days, I almost cried because I had no idea what to do. It was no way similar to just watching videos and following them. I was literally just staring at the screen and clicking randomly here and there. I knew what app I wanted to build but did not know how and where to start. The third day, I had many 'Aha' moments and finally was able to figure most of the stuff out.

3 days later, I am done with this app and feel so happy about it. Here is the link Weather App.

Just wanna say, never ever give up on this. It may seem hard but believe me it gets better.

28 Upvotes

21 comments sorted by

4

u/llamapickleem Oct 30 '19

Awesome! Challenge yourself to change from degrees C to degrees F in areas that use that (geolocation or something else) very cool!

4

u/DaBaDaDee Oct 30 '19

That's a great idea. Thanks. I will add that to version 1.01 :)

3

u/wtf_is_a_potato Oct 30 '19

So to somebody who somewhat knows JS but not React, would you say the best thing to do is just jump straight into building something? Or did you really need that initial video course?

1

u/DaBaDaDee Oct 31 '19

React is actually JS but the way it is written is a bit different. What we do with Vanilla JS is that we write HTML, CSS and JS separately. But with React, we write HTML inside JS. React then converts it to HTML by itself. That HTML inside JS is called JSX and I think you do need to learn it first. I followed that course just to get an idea of how we can create a React app with all the formatting and syntax. You do not really need to buy a course on Udemy. There are a lot of videos on YouTube for free but with Udemy, I was working on one project and the course was 'structured' so that you do not have to look for something here and other things somewhere else. What I mean here is that with Udemy, or any other course that is offered online, you know that you are getting most of the stuff React has to offer, that you are not missing out on something. For example, there is a package called Redux. What it does is it helps manage your 'state' inside React app. I was introduced to it in that course. If I had not followed this course, I may have never even known that this thing actually exists. So, it did help me a lot. I was having trouble developing this weather app because the project, the instructor coded in those videos, was about something else. But it definitely helped me with what I needed to code and where to look for if I run in to problems.

Hope this helps. If you need more info, you can PM me :)

2

u/console5000 Nov 10 '19

for me it was really helpful to go through the create-react-app tutorial.

to me react was always a complex thing with all the stuff going on in the background (like webpack and babel and all that jazz) . create-react-app just takes care of all this stuff.

also i would recommend to start with the newer react using hooks and functions instead of classes. this feels a lot more intuitive to me. (the create-react-app tutorial still uses classes though)

2

u/O-juice89 Nov 05 '19

Wow nice job, I'm building a weather app myself haha. Do you have a github link to the source code?

1

u/DaBaDaDee Nov 06 '19

Thanks :) Yes. Its in the footer after you open weather information.

2

u/console5000 Nov 10 '19

it works quite well! as a quick feedback: i couldn't find a button to go back to the search field to enter another location. also the layout is a bit hard to read since all the information is spread across the whole screen.

as an exercise maybe you can implement multiple locations all on their own "card" next to each other? =)

1

u/DaBaDaDee Nov 11 '19

Thank you very much for the feedback. I really appreciate it.

For the back button, I actually did not add Routing to this app :) I am new so I am adding this Routing functionality to my next project. I know it gets annoying that you cannot go back. I may add this functionality in the next update :)

I did not understand what you mean by " implement multiple locations all on their own "card" next to each other". Can you please elaborate a bit? :)

Thanks again for the comment. THIS is what I was looking for.

2

u/console5000 Dec 31 '19

Sorry for the late reply. I thought it would be a nice upgrade to have multiple locations that are displayed next to each other.

1

u/DaBaDaDee Dec 31 '19

That would be a challenging but pleasant addition. Thank you. I will try that soon

2

u/console5000 Jan 01 '20

Keep pushin‘! Happy new year :)

1

u/DaBaDaDee Jan 02 '20

You too buddy :)

2

u/SadInvestigator77 Nov 21 '22

I plan on learning react from udemy or scrimba soon. Can you recommend a good react course, paid or free?

1

u/DaBaDaDee Nov 21 '22

Before I recommend any, can you tell me how good is your JavaScript? I am asking because the course that I took, was much easier for me after completing the advanced JS course.

1

u/SadInvestigator77 Nov 21 '22

Good with the basics. I've learnt some advanced stuff like AsyncJs and axios, fetch, stuff like that(still finding it pretty hard) and made a couple mini projects. I think if i jump into the deep end with react, I could get better with practicing more and making projects.

1

u/DaBaDaDee Nov 21 '22

Thats really good. Those things are very important. Did you do arrow functions? React gets easy and works really good with those.

I took React course 3 years ago. Not sure if any other has come but the one I took is long. Its good in the beginning but when it gets more advanced with Hooks and stuff, the instructor just does not deliver in a good way. He just rushes everything which I hated.

So if you dont find any other course, you can take this course and make your basics very strong (which this course is good at) and then do the hard and advanced stuff by watching videos on YouTube.. I did the same. Also at workplace, YouTube videos have helped me a lot. You will just need to search what you are looking for, specifically.

I took this one: https://www.udemy.com/share/101Wby/

I see there are a few more courses available now that were not available before like this one: https://www.udemy.com/share/101WH4/ It has lots of good reviews and is on sale right now.

Let me know if you have more questions.

1

u/SadInvestigator77 Nov 22 '22

Yes! I did learn arrow functions, they make your code look better. I just started the React course on Scrimba. Apparently it's very beginner friendly, but Im not sure how good it is yet. I was thinking getting the Maximilian course (the one you recommended) earlier. Should I look for longer online courses because that'd mean they teach more / better ?

1

u/DaBaDaDee Nov 22 '22

Thats depends on what you want to do? Do you want to start working asap as a junior developer? Are you already a developer and just learning react? If you want to start working asap then longer course also means longer times to finish. I would say strengthen your basics and build a small project. Then do Hooks and build a project using those. This project could be a big one. You can get ideas from YouTube or google. Also, search for developer jobs in your area. Look for what they are asking for.. Go through some of the jobs and note down what they are looking for. Then make yourself stronger in those.. I have seen jobs where they do not require Hooks so you can learn them later. It all depends on what they need

3

u/[deleted] Oct 30 '19

[removed] — view removed comment

2

u/DaBaDaDee Oct 30 '19

Haha.. Thanks :)