Some ideas on writing tests (front-end)
Writing tests has always been an indispensable part of software engineering,But how to write for a long time seems to find a bug will still run out,QA Issue still as much?
Writing tests has always been an indispensable part of software engineering,But how to write for a long time seems to find a bug will still run out,QA Issue still as much?
At the beginning, the author mentioned that, such as cars, aircraft, architecture, these areas have developed to the present, there are certain patterns in the aircraft wings, shape design, function, etc., are almost similar, and the results of development are also evident. I'm also thinking recently, why are these areas okay, but in software development, things seem to be getting worse? Every time you run npm install on a Macbook pro or iMac, you hear the fan spinning at full speed. Web development seems to be built on an unstable sand tower, and there are many front-end frameworks and state management tools.
In 2019, during the first five days of January, I was still counting steamed buns in the barracks (*compulsory military service*). After four months of military life, I started looking for a job.
In 2019, in the first five days of January, I was still a few buns in the barracks, and finally survived four months of military career and started looking for jobs. Almost in the first half of the year are preparing for interviews and settling themselves, and life gradually on the right track after moving to Japan in the second half. First Half 201...
iOS 11.0 can read and write NFC Tag through CorenFC, but it can't read information such as IC cards. IC cards can only be read by iOS device...
The recent books are all about soft skills in the workplace. Engineers are sometimes too lazy to do things like communication, coordination, cooperation, and so on, unless you are free to take care of retirement, learning these skills can make your future career easier. This “lateral leadership” is called Getting It Done - How to lead when you're not in charge, it describes how to lead your entire team in the right direction when you're not a supervisor.
iOS 11.0 can read and write NFC Tag through CoreNFC , but it can't read information such as IC cards. IC cards can only be read by iOS device…
Before hoping to be able to put some things on the front-end development record, but has not been started to do it, taking advantage of the Ironman race all sorted out in one breath. The series is divided into several parts, and there is a chance to continue to write about it in the future. Introduction of JavaScript Basics JavaScript with ECMAScript...
Driving Technical Change: Why people on Your Team Don't Act on Good Idea, and How to Convince Them Should...
react-transition-group upgrade from v1 to v4 is more important: after the upgrade CSstransitionGroup component was removed leave becomes exit transitionName becomes classenterTimeout...
Instead of introducing the API for react-hooks, this article tries to explore the reasons behind the design from a design perspective. It is divided into sections: The Difference between Function Component and Class Component How to Reuse Similar Logic in Components for High-order Components...
I used to like Japanese culture, so I gradually grew up with the idea of going to work in Japan when I was in college. However, due to the relationship between military service and economy, it has not been implemented. Before that, I served as a front-end engineer in the company before my military service. Recently, when the soldiers came back, you can finally find a job in Japan without worries. Just now is a pretty good period, Japan is greatly recruiting IT because of the young age...
EMS is an international express mail, integrated the postal service of major countries, tracking number can check the progress on the web page, known as the fastest postal service, of course, the price is also a lot more expensive. It feels great to send EMS for the first time, the web progress tracking is very timely, two days to Japan; this time the company will send me the certificate of residency is also using EMS, just as I thought it was probably also...
About a few months ago, I wrote an article on how to set environment variables in golang, and setting environment variables gracefully is a very important thing, so I wrote a simple function to do it. The initial consideration is very simple. If a corresponding config file is provided, use os.setenv to set the key/value inside. After that throughout the app...
This article is done by looking at Implementing a pin-to-bottom scrolling element with only CSS, and explains how to use JavaScript. Now the more often the page appears, the scroll is positioned to the bottom each time new content is added. Like Twitch...
One day while developing a page, to check that the header fields are correct, open the development tools and see a few more suspicious headers in the request: network. Have you noticed something suspicious? A closer look to find out how there are three to Sec-Fetch...
In golang which, if there is no assignment at initialization, it will use zero value. However, over time, we will find that if zero value is replaced each time, we would not know whether the user did not enter a value that resulted in zero value, or did the user originally enter a zero value? At this time because of Email, Name...
This article is a summary of How to collect, standardize, and centralize Golang logs | Datadog. There are usually a few points to note when using log: the log is passed as a parameter, you need to use the log to pass parameters into the unified context...
In golang, for the type of interface {}, you can make type determination to assume that the interface is a type, so that you can manipulate the methods in that type. This code can make the original interface...
Recently, projects have been moving from Ruby On Rails to golang, except for one thing you want to practice writing to see how ugly syntax feels, on the one hand, to feel the power of golang and how to organize your own code without an existing framework. Today is the goworker. He will look at the reason is to search for go worker...