Beginning my JavaScript adventure in 2025 - seeking advice for React and React Native

Hi everyone! I’ve just started learning JavaScript and I’m aiming to eventually get into React and React Native. I make an effort to practice coding something new each day through various JavaScript tasks. I plan to transition into React development once I’m comfortable with the foundational concepts. Currently, I’m finding some topics challenging, such as arrow functions and higher-order functions, which feel crucial yet confusing. I would greatly appreciate any tips or resources that could help clarify these subjects. Additionally, are there specific JavaScript skills I should concentrate on before diving into React? Thank you for your help!

hey ethan! totally get it, those concepts can trip ya up. arrow functions basically make your life easier, just think of them as a quick way to write functions. def work on array methods like map and filter - they’re super important in react. also, async/await is a must before diving into apis!

Learn promises and async JavaScript before jumping into React. I got crushed by data fetching early on because I didn’t get how promises worked. The event loop and callbacks will click once you nail these basics. Closures are huge too - they’re everywhere in React hooks and event handlers. Don’t rush into React like I did. Had to backtrack and learn JavaScript fundamentals the hard way. Time spent on core JS concepts now saves you tons of headaches later when building React apps. Master template literals too since JSX uses similar syntax.

Destructuring and the spread operator will save you tons of time with React components. You’ll see them everywhere when dealing with props and state. Higher-order functions tripped me up at first, but they’re just functions that take other functions as parameters or return functions. Really focus on how ‘this’ works in JavaScript - it’s different in arrow functions vs regular functions. You’ll need this when handling component methods in React. Also, get comfortable with ES6 modules since React uses import/export statements constantly for organizing components.

This topic was automatically closed 6 hours after the last reply. New replies are no longer allowed.