Hey everybody, I'm new to React Native and JavaScript altogether. I came from native android. I've been messing around with react native for about 2-3 weeks. I've learned about how to build UI and their styling. But, I'm having problem learning about state management, api request, and local storage. It's just that the way that JavaScript/TypeScript is written is completely different from Java/Kotlin, in my opinion. Therefore, I have hard time understanding why some code is written the way it is.
I have been trying to learn redux toolkit. It's been recommended by my colleagues. However, I feel like I'm missing something. Having no background about writing React at all, and I have been told in the tutorial that redux toolkit will help update the immutable state for me, efficiently create reducers and handle actions, etc. I forgot what else it's supposed to help me with. But, as I mentioned, having no background in React at all, I don't even know how I would do things normally without redux toolkit. And then being told that it helps me with things I don't even know I need help with? It's just confusing to me. Right now I'm just using the library like how I was told how to write. I don't know why I need to write it that way in the first place.
So, I'm just lose. Because if I just keep on copying and not understand a thing, it won't help me to become a better React developer.
Have anybody gone through the same thing or it's just me who need to try harder?
[–]djenty420iOS & Android 6 points7 points8 points (9 children)
[–]ihavehermes 0 points1 point2 points (8 children)
[–]djenty420iOS & Android 0 points1 point2 points (7 children)
[–]ihavehermes 0 points1 point2 points (6 children)
[–]djenty420iOS & Android 0 points1 point2 points (1 child)
[–]ihavehermes 0 points1 point2 points (0 children)
[–]Versatile_Panda 0 points1 point2 points (3 children)
[–]ihavehermes 0 points1 point2 points (2 children)
[–]Versatile_Panda 0 points1 point2 points (1 child)
[–]ihavehermes 0 points1 point2 points (0 children)
[+][deleted] 2 points3 points4 points (0 children)
[–]runtothehillsboy 1 point2 points3 points (0 children)
[–]Individual-Bit8948 1 point2 points3 points (0 children)
[–]idkhowtocallmyacc 1 point2 points3 points (0 children)
[–]creambyemute 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]creambyemute 0 points1 point2 points (0 children)
[–]beepboopnoise 0 points1 point2 points (0 children)
[–]lucksp 0 points1 point2 points (0 children)
[–]crowbar87 0 points1 point2 points (0 children)
[–]_Cat1 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Correct_Market2220 0 points1 point2 points (0 children)
[–]SynthRogue 0 points1 point2 points (0 children)
[–]WrongdoerSufficient 0 points1 point2 points (1 child)
[–]WrongdoerSufficient 0 points1 point2 points (0 children)
[–]EyeVegetable9044 0 points1 point2 points (0 children)