Email - harun.bspt2014@gmail.com Phone - +8801717615827
PHP, JS, CSS, Python, and Machine Learning Technology

HTTP Status Codes

HTTP Status Codes

The HTTP status codes are developed as per the Internet standards defined by Internet Engineering Task Force (IETF). They are classified into five different categories as below: 1xx series – ...

HTTP-Status-Codes-Understanding-Express-res.status

HTTP-Status-Codes-Understanding-Express-res.status

The res object represents the HTTP response that an Express app sends when it gets an HTTP request. Source: https://www.tutorialspoint.com/nodejs/nodejs_response_object.htm res.status(code) ...

What is that HTTPS?

What is that HTTPS?

HTTP is a method for encoding and transporting data between a client and a server. It is a request/response protocol: clients issue requests and servers issue responses with relevant content and ...

JS to TypeScript

JS to TypeScript

Normally, we can put normal JS code and get no help from what TypeScript has to offer. In order to TS to force us to actually type our code, we need to change the ‘tsconfig.json’ file. In particular, ...

What are Thunks?

What are Thunks?

Thunks are a functional programming technique used to delay computation. Instead of performing some work now, you produce a function body or unevaluated expression (the “thunk”) which can optionally ...

Redux-thunk-basic

Redux-thunk-basic

Thus, in summary there are two parts to Redux-Thunk: A thunk creator, which is an action creator that returns a thunk (a.k.a. asynchronous action creators) The thunk itself, ...

The state argument of mapStateToProps(state)

The state argument of mapStateToProps(state)

mapStateToProps() is a utility which helps your component get updated state(which is updated by some other components), mapDispatchToProps() is a utility which will help your component to fire an ...

mapStateToProps-basic-understanding

mapStateToProps-basic-understanding

All mapStateToProps() does is, it takes a piece from the App's single state-tree i.e. the store and turn this into a component prop, so I can use it in this current component as a regular prop. ...

mapStateToProps()

mapStateToProps()

Basically with mapDispatchToProps I connect a Redux action to a React component. mapDispatchToProps function let's us inject certain props into the React component that can dispatch actions. ...

Flux is a pattern and Redux

Flux is a pattern and Redux

Flux is a pattern and Redux is a library. Flux is a fancy name for the observer pattern modified a little bit to fit React. Both Flux and Redux have actions. Actions can be compared to events (or ...

Dispatch(action)​

Dispatch(action)​

https://redux.js.org/api-reference/store#dispatch dispatch() is one of the 4 methods of redux-store. dispatch() is the method used to dispatch actions and trigger state changes to the ...

Translate »
Register New Account