N th Way of Front End Request - Play React Hook

I wrote an article a few years ago - " My Opinions on the Differences between Jquery ajax, Axios, Fetch "- Analyses the differences between ajax,axios and fetch in terms of principle and usage.Now, starting with a small ex amp le, this paper uses react hook to dissect a new way of requesting data; and through this custom HOOK, it intr ...

Posted by dennismcdougall on Sun, 07 Jun 2020 18:21:00 -0700

H5 Mock Server summary

What is Mock Server data? In short, if the Api (that is, the server interface) is not written, the front-end cannot be debugged. Mock Server is a service used to simulate the Api interface to return JSON data! Here are three kinds of mock processing, and there are many third-party ones, such as (jsonServer + mockJS, ...

Posted by digitalecartoons on Sat, 02 May 2020 05:10:07 -0700

Detailed explanation of wz framework login function demo1

The purpose of this article is not to introduce how to use it, but to analyze the existing login process and the corresponding adjustments to be made in later formal development. wz framework (let's promote the technology) Introduction: Introduction to wz framework Online experience: Online experience github: vue-framework-wz At the ...

Posted by zachrose on Fri, 01 May 2020 21:00:19 -0700

vue uses mockJs to simulate data

In recent years, I have been developing in Java, and I have forgotten about the front-end technology (actually, I don't know how to do it). Recently, I participated in a project written in VUE + element UI + springboot. Because of the uncertain demand, I drew a demo interface first, and I didn't want to write the data. So I went online to check ...

Posted by steveswt on Sun, 01 Dec 2019 17:23:28 -0800

vue project access mock & Axios general configuration

Preface Similarly, in the process of project development, there are often no interfaces and the front-end pages have been built. At this time, in order to improve the efficiency of front-end development and liberate productivity, we FE can do some interface simulation according to the pre-defined interface documents, and so on. After the back-e ...

Posted by reagent on Thu, 10 Oct 2019 12:02:02 -0700