Reusable HTTP REST API service tutorial with React | React Crash Course

preview_player
Показать описание
#react #javascript #http #rest #httprest #reusability #API
This tutorial explains how to implement reusable http rest service class which help developers to integrate http services in their apps.

You can create http service class using simple javascript class and then create it's object to use functions of that class.

This tutorial uses simple javascript fetch function but you can use any third party library too like axios, super-agent etc...

#React
#HTTP
#RESTAPI
#Reusable
#Service
#Tutorial
#FrontEnd
#BackEnd
#WebDevelopment
#JavaScript
#APIDevelopment
#RESTfulAPI
#APIIntegration
#NodeJS
#ExpressJS
#Axios
#JSON
#AJAX
#FetchAPI
#APIRequest
#APIResponse
#APIAuthentication
#APIAuthorization
Рекомендации по теме
Комментарии
Автор

hello sir ..how do i start my coding journey..any suggestion by which i can get all basic knowledge about coding

GamingMania.J
Автор

I'd also use the singleton pattern for the service to make sure we get the same instance to prevent unnecessary rerenders

grenadier
Автор

Very good way explained to create intermediate class

mayurpatel
Автор

Thanks for sharing this. It helped me alot

behnamshahriari
Автор

Firstly Thanks alot for this wonderful video. The services function you have made is a generic function for API consume which can be used in other components ??

vinitchauhan
Автор

Please provide github repo link of this code.

thebetacoders
Автор

I followed this but I got an error url is not defined

havelboumbidi
Автор

With all the respect this doesn't work, you can not just write the methods without the function keyword or defining an arrow function

JC-xqwg