I love coding and what motivates me is problem-solving and preferably if it has an element of creativity.
I am a self-taught developer and work full-time as a front-end developer.
Location
Denmark 🇩🇰
Education
Bachelor in Nutrition and health (I know not super relevant to my current line of work!)
I am certainly no developer, but I was working on a quick simple proof of concept (POC) last week for an SPA (React, with a JSON file for a data store) to fix an internal problem. The biggest issue I struggled with what my lack of understanding of Hooks and passing state between components.
Awesome! Thank you for your reply. I am currently working on an example app where I am using React and Hooks to manage state. I hope I can have that ready soon.
Nice article!! But...For detailed explaination on fetch you can read this article here
Anyone having trouble understanding fetch, can read that article
🔍 SEO Analyst & Digital Marketing Expert | Driving growth through SEO, content optimization, and improved search rankings. Let's connect and elevate your digital presence!
A Single Page Application (SPA) is a modern web development approach that delivers a seamless and responsive user experience by loading and rendering all necessary content within a single web page, eliminating the need for constant full-page reloads. SPAs leverage JavaScript frameworks like React, Angular, or Vue.js to manage dynamic content, allowing users to interact with the application without experiencing the typical interruptions associated with traditional multi-page websites. This approach enhances speed and interactivity, making SPAs a preferred choice for many web developers when building complex web applications, such as social media platforms, online marketplaces, or productivity tools, as it provides a more fluid and engaging user experience.
The const declaration creates a read-only reference to a value. It does not mean the value it holds is immutable—just that the variable identifier cannot be reassigned. For instance, in the case where the content is an object, this means the object's contents (e.g., its properties) can be altered.
All types except objects define immutable values (that is, values which can't be changed). For example (and unlike in C), Strings are immutable. We refer to values of these types as "primitive values".
This gives people the impression that const works differently for primitive values and objects - it's just that the binding is immutable - not the value which why you can still modify the internals of objects (and arrays which are objects).
This is a very useful article for anyone new to frameworks!
If the module isn't exported as default (this could be in a file with multiple exports), it is possible to import the module(s) like this:
Thank you for your reply! Your point is really helpful
I am certainly no developer, but I was working on a quick simple proof of concept (POC) last week for an SPA (React, with a JSON file for a data store) to fix an internal problem. The biggest issue I struggled with what my lack of understanding of Hooks and passing state between components.
Awesome! Thank you for your reply. I am currently working on an example app where I am using React and Hooks to manage state. I hope I can have that ready soon.
Nice article!! But...For detailed explaination on fetch you can read this article here
Anyone having trouble understanding fetch, can read that article
Hi 👋 awesome for sharing! Thank you!
A Single Page Application (SPA) is a modern web development approach that delivers a seamless and responsive user experience by loading and rendering all necessary content within a single web page, eliminating the need for constant full-page reloads. SPAs leverage JavaScript frameworks like React, Angular, or Vue.js to manage dynamic content, allowing users to interact with the application without experiencing the typical interruptions associated with traditional multi-page websites. This approach enhances speed and interactivity, making SPAs a preferred choice for many web developers when building complex web applications, such as social media platforms, online marketplaces, or productivity tools, as it provides a more fluid and engaging user experience.
Nice post.....
I don't understand the the const variable explanation...or is it a typo?
Probably should have been
but even that isn't correct.
Quote
The wrinkle is that
Quote:
This gives people the impression that
constworks differently for primitive values and objects - it's just that the binding is immutable - not the value which why you can still modify the internals of objects (and arrays which are objects).Thank you for helping me out! Awesome explanation!
Thank you for your reply - I tried to make the explanation a touch easier to understand, but I guess it ended up being more confusing 😅