Lim Woojaejaylog.hashnode.dev·Nov 17, 2024[React.js] Uncaught TypeError: Cannot read properties of undefined (reading 'map')About Error When I execute this react code, <div id={id} className="row__posters"> {movies.length > 0 ? ( movies.map((movie) => { return ( <SwiperSlide> <img key={movie.id} style={{ padding: "25px...DiscussFront-endReact
Ajat Darojatajatdarojat45.id·Jul 17, 2024Cara Menggunakan Optional Chaining di JavascriptKonsep Optional Chaining (?.) yang baru saja diperkenalkan di Javascript ES2020. Versi baru dari Javascript membawa peningkatan pada implementasi saat ini dan membuat hidup kita lebih mudah sebagai developer. Kalian bisa cek Spesifikasi Bahasa ECMAC...DiscussJavaScript
Maksim Martianovmartianov.dev·Jul 4, 2024Enhancing Golang with Scala-Style Option Handling for Safer CodeAs a developer and a fan of Scala and functional languages I really like to have an ability to be able to handle optional or nullable objects safely and be able to chain them to something new. Standard way to handle them in Golang is to handle them i...DiscussGo Language
aryan sharmaaryansharma.hashnode.dev·Jun 23, 2024Optional chaining in JavaScriptHey Welcome Techies👋🏼 Hello everyone, my name is Aryan Sharma, and I hope you're all doing well. I'm thrilled to begin this JavaScript blog on Transpilers and Pollyfills for absolute beginners. You can find my other blogs on JavaScripthere↗️ Optio...Discuss·10 likes·40 readsOptional chaining
Akash Satputeakashblogss.hashnode.dev·Jun 7, 2024Effective JavaScript Validation: Using Chaining, some, and trim methodValidating User Input in JavaScript: Ensuring All Fields Are Filled In web development, ensuring that all required fields are filled out correctly by the user is a crucial step. Let's explore how to perform this validation in JavaScript using a conci...Discuss·20 likessomemethod
Sunil Kumar Sainisunilsaini.hashnode.dev·Apr 5, 2024Optional chaining in JavaScriptOptional chaining is a feature in JavaScript to simplify accessing properties or calling methods deeply nested within an object structure, especially when dealing with potentially nullable or undefined intermediate properties. It's denoted by the que...Discuss·10 likesJavaScript
decpkdecpk.hashnode.dev·Mar 23, 2024Optional chaining in depthTLDR; Optional chaining (?.) prevents runtime errors when accessing properties or methods of potentially null or undefined objects by short-circuiting the expression and returning undefined instead. It's an abstraction over null or undefined checks a...Discuss·10 likesJavaScript
Yuvraj Singhyuvrajsingh.hashnode.dev·Mar 18, 2024Demystifying the "Cannot Read Properties of Undefined/Null" Error in JavaScriptIntroduction JavaScript, as a versatile and dynamic language, empowers developers to create powerful web applications. However, even seasoned developers encounter the infamous "Cannot Read Properties of Undefined/Null" error. In this blog post, we'll...Discuss·10 likesObject wrappers
Md Shah Aman Patwarymdshahamanpatwary.hashnode.dev·Feb 16, 2024Optional Chaining in JavaScript .JavaScript development often involves navigating through nested objects, which can be cumbersome and error-prone, especially when dealing with null or undefined values. Enter optional chaining—a game-changer in modern JavaScript syntax. In this artic...Discuss·10 likesWeb Development
Gaurav J Somanigaurav750.hashnode.dev·Oct 30, 2023Mastering TypeScript: Beyond the Basics with Interfaces, Generics, and MoreMany of us have already dabbled with the basic types TS provides and experienced the safety it provides. But Typescript, like an iceberg, has layers beneath its surface - features that can make our code more flexible, robust and maintainable. In this...Discuss·2 likes·46 readsTypeScript Generics