Learning React after spending months with vanilla and modern JS.
BCA 2nd year, Jaipur. Building small tools that actually work. This = my learning journal.
Rn: logic-heavy utilities (DOM, APIs, browser storage) → scaling into React.
Following #buildinpublic. Let's connect 🚀
Built my first real multi-concept project today — a password generator.
Following a video Tutorial btw🥀
Used useState for the values, useCallback to memoize the generator function, useEffect to auto-run it on load + on changes, and useRef to grab the input field directly.
Learned useEffect cleanup functions today.
If your code starts something that keeps running in the background—like a timer and event listener you need to clean it up.
Otherwise Memory leaks waiting to happen.
#ReactJS#buildinpublic#frontend#WebDev
Built a small counter project — not much, just enough to actually understand how useState works under the hood.
React needs to know about the change — that's the whole point of state.
#ReactJS#buildinpublic#frontend