Front-end work experience

git commit -m 'xxx' remarks do not Xia Xie, will despise the
time of submission of the code, it is best to modify the look of those documents, if it is not modified withdraw to avoid submitting revised up a lot of space
projects in the style of one thousand public Wan left undisturbed! !
The work is not difficult to change the development bug, 一定及时沟通! ! Product demand is not clear ask, do not ask the back end field unsure ask the card in the last bear responsibility for their own or
try to develop good code writing habits, do not cover a lot of if else really despise!

1, 5XX encounter problems, do not go directly to the back-end silly, first with the next test Swager or postman, hit back-end written in java, map type, Swager can not test, use a postman to test.
2, hit CRUD operations. The first to write increase, then change, then check, and finally delete, type of business you do not let the back-end to false data.
3, learn to define global variables and constants, see if you can write a small request, reduce code redundancy, or codeRivew time will be despised dead.
4, to get the project, first global look, the ability to split a component extracted public JS, otherwise go to the late split very painful.
5, learn to look at the database, to see themselves learn to deal with their own stuff, especially the rear end of the defined fields.
6, the rear end of the requested data back, and must CTRL + C CTRL + V. Do not install B to write their own, error, you can troubleshoot to death
7, encounter strange problems, directly on the debugger, F10 to step through
8, some of the weird problems themselves or ask someone else, check the Internet, be sure to record under best to write a blog, or the next time you come across, rarely think how to solve the.
9, 多看掘金some people write the above techniques, it is best to copy to your blog and notes, very practical.
10, hit the big brother-class back-end, we must hold fast to the thigh, understanding the needs of their business, completely spike a lot of front-end. Many do not understand, you can go to consult.
11, native is really important.
12, multi-look design patterns, recommended Zhang Rong Ming "JavaScript Design Patterns" with Chou JS native object-oriented, you can make the code more streamlined logic.
13, the best technology into a good technical team atmosphere, its own front-end is a God-pit. Very not recommended
14. git commit specifications
15. git is best to use an IDE interface management tool built-recommendation or Tree Source
16. The git prohibit the use of the RESET, the Push -f
17. The download a software translation, select the translation, translation is very useful screen capture
18 to get a new project read through the whole package webpack configuration main.js router store api rights management form validation filter
19. vue recommended << >> layman Vue.js
20. The write operations to think clearly, to interface documentation in a timely manner, the data structure will affect the code design the
21 best while writing code for reconstruction
22. UI library components commonly used for secondary packaging
23. name the file remain variable component specifications
24. Do not modify someone else's code, familiar with the code is a very necessary process modifications What impact will think first before
25. the first problem encountered analysis, recommended Google search engine
26. learn to think as from three places: Why should promise promise to solve the problem of how to solve what is
27. console kept clean, can not be found to which it is being given with the exclusion
28. blog and book reading preferences
29.get and post respectively in the request header pass parameters
to vue-cli3.0 build the project as an example, get params way to use the pass, po st not write false data when you can not open mock, write directly to the new Promise api inside the js file, for example: you can write front-end interfaces according to the project document format and the required data, and after the completion of the interface into really can (white figure is false data, black is really Interface)
Here Insert Picture Description
NOTE: If you adjust the interface barrier, if the backend sent a swagger, then go to swagger relatively environment to try, if swagger through, check the tip to see if there are problems. Nowhere it directly to the rear end
appreciated tab 30.:
passed back and pageSize pageNum parameters such as: 1 and 50, it means that the first page data 50000 from the search from scratch, if 2 and 50, it means that from two start search from that article 51 begins to search 50
31. button to add stabilization: DETAILED Baidu to
32 learn to look at the front and rear end of the network is important FBI

Published 149 original articles · won praise 5 · views 30000 +

Guess you like

Origin blog.csdn.net/qq_26327971/article/details/105126245