Tutorial on making React app with Typescript & MobX - Part 3 (calling backend server)

Veröffentlicht am: 25 Juni 2020
auf dem Kanal: Miman Dev
177
2

This is part 3 of th etutorial where we add the code to call a backedn REST server and populate a page with this data.
Also showing a spinner during the call.

--------------------------
This is a tutorial on howto create a ReactJs application using the following technologies:
React router
MobX
Typescript
Axios

Here we create an application structure more like Java / Spring than standard React Javascript functional programming while I think this is a much nicer way to structure the code.

The reasons why I think this is a much nicer development experiance than Javascript functional programming are:

Using Typescript you always know what is available for every object directly whne you are coding and replace finding spelling errors from runtime to development time.
Using classes you can encapsulate the logic in a good manner.
Using MobX for state management is much cleaner and easier than Hooks and less verbose than Redux.
Using MobX dependency injection makes it easy to find & use the common services/stores.

Views in the application:
Login
Main page
User list

The code can be found @ this GitHub repository:
https://github.com/miman/react-demo


Auf dieser Seite können Sie das Online-Video Tutorial on making React app with Typescript & MobX - Part 3 (calling backend server) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Miman Dev 25 Juni 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 177 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!