© 2023 Hashnode
#state
Let’s start with visualization: JSX JSX is a syntax extension for JavaScript used in React that allows you to write HTML-like code in your JavaScript code. It stands for "JavaScript XML" because it l…
Hi coders, in today’s post, I’d like to discuss the property wrapper @State in SwiftUI. Have you ever encountered the error Cannot assign to property: 'self' is immutable while trying to change a valu…
Murray Rothbard defined the state as "that organization in society which attempts to maintain a monopoly of the use of force and violence in a given territorial area". This seems like an acceptable de…
Intro Recently, I completed my build of a full-stack application using React on the front end and rails on the backend. This application had the most components out of all of my projects....21 (and co…
If you have an alert dialog containing a DropdownButton widget you might notice that when an item is selected its value does not update as you intend. Whenever you click on an option within the DropDo…
Introduction React is a popular JavaScript library used for building user interfaces. It was first introduced by Facebook in 2013 and has gained widespread adoption since then. React is known for its …
In React, it's common to pass data down the component tree from parent to child using props. However, sometimes you might need to pass state data back up the component tree from a child component to i…
I had been working professionally with React for a year now, and while I have been able to build functional and feature-rich applications, I realized that I didn't have a solid understanding of how Re…
Introduction I previously favored useState for managing state in React applications, however, I have recently implemented useReducer and have found it to be a more efficient method in comparison to th…
Table of Content Introduction For fast-launching web apps with standardized architectures, React, Angular, and Vue are great frameworks. But since JavaScript is the foundation for all of them, let's l…