In a flash, March has passed, and 2022 is already a quarter of the way through, preparing for my March technical summary and q1 summary. In general, I am very satisfied with the progress made in this quarter. I have learned a lot of new content and encountered many problems. Here is a summary of what I have learned from the perspective of the quarter.

Vue3, typescript, and applets development are all new to me this quarter, and it’s a mix of pain and pleasure to get into the real business. Happiness is when you finish writing and think that there is a new technology. Pain is when you dream for two weeks and run code in your head, thinking of generics, various types of writing, vuE3 specification… So far I have mentioned my vite + vue3 + TS project, waiting for the approval of the big guys.

TypeScript

I finally learned TypeScript, which my seniors had asked me to learn a year ago. Although I read it, I didn’t use demo to write, so I still felt it was not systematic. That this time although is also at the last minute, but really put into development feeling is still different.

Usually, I only learned some grammar when writing demo. This time, I put it into use, combined with various tools of Vue ecology to configure various types, and standardized part of my code writing and data structure requirements. The main uses in this development are interfaces, array types, generics, and methods, and I feel that mastering these four elements will allow you to use TypeScript in your projects. After all, TypeScript is a superset of JavaScript. You can start writing JavaScript for things you can’t write or syntax you don’t know, and then follow TypeScript’s prompts to fix them, learning as you go.

The second is to write typescript code in the Vue3 ecosystem. The official documentation has a section on what types to add to the object, such as Router and Store. Second, the Vue3 documentation explains how to write typescript code in.vue files. How to use defineCompoent, how to use PropType, and how to add types to refs and Reactive are all explained in detail and can be quickly used with the official documentation.

Vue3 starts services

I think I was lucky. Compared with my colleagues who entered the unit at the same time, I learned new skills earlier. Of course, it depends on the mentality, some people think it’s all code, it’s all the same, it costs to learn something new, and it’s all responsive in nature, changing the data and changing the view. But my mindset is that I want to learn new technology, and it’s best to invest in development, and it’s not as practical as investing in development. There is no such good condition to give you backend write data, to give you interaction design, to give you four or five rounds of testing, and finally have the big boss to find defects for you.

Not only was I lucky to have used Vite + Vue3 for business development earlier, but I felt like I mastered it in a step-by-step process. In January I was just writing a single page in Vite + Vue3, and in March I started a new project to write a single page in Vite + Vue3. At first that single page made me write like shit, I read a lot of lessons on how to write Vue3 code, how to clear the logic of the code, and then I rewrote that single page. Now I have a specification of my own to write the logic of Vue3 code, which is still waiting to be hammered and trampled by the big guys until it’s what I want it to be.

Wechat applets

I can’t believe I made a small program business lol. Of course, for those of you who have never written a small program or who have never understood it, it is not clear what the relationship between the two is. But for those who have done it, this is new??

At that time received a small program business a face meng force, how I will be divided into such a business, this and I front-end engineer what relationship ah? Later I looked at the official documents and found that it was still the same thing, but the wechat team encapsulated some limitations for you. Then I started to develop and write the business.

Recently I found that there seems to be some problems in writing after development. I should have a good understanding of this part of the business recently. Although I do not plan to invest more in the learning of small program business, I should at least complete the development with quality and quantity guaranteed.

Outlook for next Quarter

As I said above, I’m learning at the last minute and I don’t know much about Typescript, so my main goal for the next quarter is to learn more about Vue3 and Typescript, and see a few good projects to learn how to write it. I want to learn about the component library, recently I used the component library written by the group leader, I feel pretty cool!!

Of course, there are also a lot of changes, I have gradually accepted the learning to use this thing, before the mentality is not understanding before dare to use, now the left hand document development right hand seize. Form the process of learning and writing, and then changing after writing hahaha, I don’t know whether it is good or bad. That month’s summary is here, write next month see you!