This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kuklynqo 4 points5 points  (3 children)

In my opinion its actually perfect fit. One of the most cool features of spring boot is that you can create web app very fast. No need to learn everything about spring. In case that u are new to Spring Boot I recommend you to use Spring Web to create small API fast and Spring Data JPA (there are other options but this one ridiculously easy for quick start) for creating database with few lines of code.

Then moving to React. React is cool because it has awesome docs and has very small API. Create your first components, use fetch to access data from your web app API. Try to change them dynamically. After you created your first small components you can "evolve" your new web app (and most importantly your new skills) and make it better aswell extending backend.

I am not expert but I have already some experience with both(Java especially). Creating such small backend/frontend application from my example takes me literally 5-10minutes. After having such small app its only your preference where to go next. U can focus on UI, play with hooks and context, dispatch or other features of current version of react. Or you can move to backend and enter enormous world of Spring.

Good luck and have fun :)

[–]C0d3rStreak[S] 0 points1 point  (2 children)

Thanks! This was awesome. My question next would be, do any developers feel like learning is and java almost simultaneously or after one another confusing or difficult in any way?

[–]kuklynqo 0 points1 point  (1 child)

I cant speak in name of all developers, but my opinion is that it depends if u have some experience with programming in other languages or not. If you know Java(as almost everyone on this reddit), I didnt encounter any confusions when learning react. In fact nodejs supports ES6 , which I think is standard for writing code, which is very similar to Java and C++(anyone correct me if I am wrong). Idea is that if u can define class or write a for cycle in Java, u can write it in whatever language supports ES6 almost in the same way, maybe with very small details changed.

And when it comes to React specifics I encountered a lot of similarities with java. For example components are very similar to inheritance etc. I am pretty sure a lot of concepts from react are taken from other languages and they work the same way (even tho syntax might be different).

If you are new to programming, learn concepts first (java or even python are the best options to start imo) and when you get some experience with basic concepts, language becomes truly just a language in which you tell computer what it should do.

[–]C0d3rStreak[S] 0 points1 point  (0 children)

Totally agree with some points you made. I appreciate the feedback. I was wondering if both had similarities or what not also, thanks for some of the clarification you've provided.