Rishikesh Shindeblog.rdshinde.com·Sep 24, 2023Use of Javascript Closures in React AppIntroduction Picture yourself enjoying your favourite latte at a coffee shop. Sitting at a corner table, you overhear two friends having a conversation. One of them shares a confidential secret with the other and asks them to keep it to themselves. L...67 readsJavaScript
Ashutosh Mauryaashutoshmaurya.hashnode.dev·Feb 11, 2023Closures in JSA closure in JavaScript is a function that has access to its outer (enclosing) function's variables and parameters even after the outer function has returned. In other words, a closure "closes over" its outer function's variables, preserving their va...91 readsJavaScript