Tagfull stack

Lifecyle Methods in Reactjs

L

React apps are basically a collection of independent components that run according to interaction with one another. Every component has a lifecycle of its own. It can be defined as the methods that are invoked during different stages of its existence. If we talk about the stages of a component’s lifecycle, it will be as follows. Initialization: This is the stage where a component gets...

React Context API:  A Lightweight Alternative to Redux

R

The Context provides a path to pass data through the component tree without passing props down manually at every component. Context API (React API) solves a lot of problems that modern applications face due to state management and how they’re passing state to the components. Instead of installing a state management library in your project which will cost our project performance and increase our...

REST APIs in React: Axios vs Fetch API

R

Introduction APIs generally charge our applications with data. The client-side of the application consumes data from API which is normally in JSON format and is with specified endpoints. This information will look into the two ways, an application can consume an API. These ways are through ‘Fetch’ API which is a browser built-in API used to make the necessary HTTP requests and the Axios API which...

Enhance User Experience With Suitable Rendering Pattern

E

Every web developer wants to make their website load as fast as possible, slow websites end up losing users and thus business. Rendering patterns that suits an e-commerce platform may not be suitable for a news publishing website. Rendering patterns focus on how to give pages to the user. Should we create the pages and store them on build time and serve when requested, or create a page only when...

Category