Interviewer: do you know the life cycle of Flutter? Come on next week!

As a mobile development engineer, when I first came into contact with Flutter, I must have such a question: what is the life cycle of Flutter? How is the lifecycle handled? Where is my onCreate()[Android]? What about viewDidLoad()[iOS]? Where should my business logic be handled? What about initialization data? I hope I can help you a little aft ...

Posted by 44justin on Tue, 25 Jan 2022 06:14:52 +0100

Front end | Vue nextTick gets the updated DOM

I met a requirement during development two days ago: when opening the dialog box, I automatically focus on the input box. Since the native autofocus attribute does not work, you need to manually obtain the focus using the focus method provided by the component library. So there is the following code: <el-button @click="openDialog">Click o ...

Posted by sasori on Tue, 25 Jan 2022 05:24:50 +0100

Css simple learning

preface This article introduces the use of Css combined with HTML. It is a reference for back-end learners, not a front-end professional article. catalogue 1, Basic concept and usage of CSS 1.1 basic concept of css 1.2. Benefits of using Css: 1.3. Use of css 2, Selector 2.1 selector definition 2.2 classification 3, Attributes IV. ca ...

Posted by pootergeist on Tue, 25 Jan 2022 02:36:52 +0100

Guidelines for participating in open source projects (towards the front)

background I believe many front-end partners have thought about participating in the development of some open source projects, but sometimes they don't know how to start because of some objective reasons, such as no guidance and no perfect process and steps to participate in open source projects. As it happens, the open source framework of ant ...

Posted by Rulkster on Mon, 24 Jan 2022 22:17:19 +0100

js advanced without ES6

Introduction to object oriented programming Process oriented is to analyze the steps needed to solve the problem, and then use functions to implement these steps step by step. When using, you can call them one by one Object oriented is to decompose transactions into objects, and then divide and cooperate among objects. Object oriented is to ...

Posted by daneilair on Mon, 24 Jan 2022 21:38:20 +0100

Event communication between VUE3 components - this series of tutorials is easy to understand and suitable for novices

1. General Relevant laws tell us that there will be a certain connection between everything in the world. "The city gate catches fire and affects the fish in the pond" is a good example. Therefore, if we can find these invisible connections as soon as possible, we can solve more problems.   To get back to business, we talked about how ...

Posted by JD-AM on Mon, 24 Jan 2022 20:17:00 +0100

[ten thousand words step by step] package vue project with webpack (basic production environment)

This project is a hands-on project. It uses the new novice guide page created by Vue cli. The project itself does not have particularly complex logic, and Vue learning is not involved here. It will only be completed through gradual decomposition, and the final packaging of the project will be completed by using webpack. The plugins and loa ...

Posted by jake8 on Mon, 24 Jan 2022 13:23:05 +0100

Form (intensive reading of React official document-09)

Basic introduction to form Official description: in React, HTML form elements work differently from other DOM elements because form elements usually maintain some internal state s. give an example <form> <label> name: <input type="text" name="name" /> </label> <input type="submit" value="Submit" / ...

Posted by jolinar on Mon, 24 Jan 2022 12:23:36 +0100

Touch your hand and write a calendar with React (with online demonstration and source code)

Design and implement a simple version of the calendar. It supports defining the discharge order of the calendar, starting with the day of the week. As shown below: First look at the effect: https://rodchen-king.github.io/react-calendar/components/calendar Source code: https://github.com/rodchen-king/react-calendar Design (with the most c ...

Posted by itpvision on Mon, 24 Jan 2022 08:42:58 +0100

node.js: create a Web server using Express

Express is a node based JS developed specifically to create a Web server framework. Its function is similar to that of node JS is similar to the built-in http module, or it is based on node JS is developed with built-in http module. Its relationship with http module is similar to that between Jquery and web API, but it is more efficient and pow ...

Posted by Hyperjase on Mon, 24 Jan 2022 06:34:54 +0100