A year of front-end interview to upgrade the road (I)
2017 bachelor's degree, hangzhou, front-end program yuan. Before April 17, SHE was a cute girl with UI. She positioned herself as an interactive god and was keen on researching product user experience. In March, 2017, I entered the company as an intern of UI design. Due to the uncertain prospect of UI development, I decided to transfer to the front of the company after a period of careful consideration (a pat on the head), and learned by myself for a period of time and followed by the experience.
Brief talk series (Vue3) V-model
Custom components are defined using the V-Model in ve2. X, in custom components in ve3. X version the same v-Model is used in custom components inside the above modelValue,(custom components inside) custom
Vue3 ecology adds another pen! The Material style mobile component library for Vue3 is now available!
Varlet is a Material style mobile component library developed based on Vue3. It fully embraces Vue3 ecology and pursues lightweight component volume, simple usage and minimal thinking burden. Developed and maintained by the community partners, after half a year of coding and
Recommend an open source VUE +Element UI back-end separation management system combat
Recently, I learned the separation development of the front and back end of VUE, but it was difficult to be proficient in the project due to the lack of technology, so I finally found a Vue open source project to study. Finally, he knew me and I didn't know him, hehe. I think a lot of self-taught friends also encountered
[Vue] Diff algorithm
The core of the DIFF algorithm is the traversal of two arrays, but it is optimized on this basis, so that the actual time complexity of the DIFF is close to N in most cases
To answer the caching principle of keep-alive components from the source point of view
Today I'll get straight to a question I was asked in the interview: how the Keep-Alive component cache works. In the example of the official website, TAB switching saves the user's operations. In practice, it is possible to skip from the list page to the details page, and then jump back to the list page to save the user's filtering operations, which needs to be used. Keep-alive >, which also avoids re-shading...
Explain Vue's eight lifecycle hook functions
Vue sets up hook functions (listeners) for each state in its lifecycle. Each time a Vue instance is in a different life cycle, the corresponding function is invoked.
The project initializes the Vant component library ESLint REM for axiOS encapsulation
Project initialization Vant component library introduction ESLint Introduces four ways to fix errors using REM to solve multi-screen adaptation AXIOS secondary encapsulation
Front-end Code Specification (I)
The key rule of the JS-standard-style standard is not to define unused variables. Eslint: no-unused-vars Specifies the same variable and function names
Vue uses $once to cancel setTimeout and setInterval
In the process of software development, there is often such a requirement: users start a process, such as traffic data monitoring, at this time need to view the current traffic analysis in real time or in some