Reality is like the ebb and flow of the tide, Yin and Yang is like the sunrise and sunset, everything has its own rules, just like we need to learn a gradual process; The product will plan the entire project cycle based on the user portrait; When developing tests, you want to have tools at your disposal…

The same rules apply to front-end development. Iterations of the front-end framework will continue. For example, after React 17 was released, React 18 alpha was released naturally. React 18’s new features and design principles have also been discussed in the community. Many features and thoughts are worth learning from, even if they don’t end up in React 18.

View the sea volunteers

Mountaineering is full of feelings in the mountains, the sea is overflowing in the sea

Google’s CSS course

Overview: This course is a systematic introduction to the basics of CSS, suitable for beginners and advanced developers. By studying the modules of the course, you will understand the core concepts of CSS and know how to use them effectively in your projects.

Recommended language: Google products must belong to the boutique, CSS as the front end of the most basic skills, with Una Kravets god to learn CSS, large probability will have new harvest. Also, “The CSS Podcast” by Una Kravets

React 18 even more extreme batch optimization

Summary: React used to batch multiple update actions in some cases and only re-render once to optimize update performance. React 18 does more batch operations by default, so you don’t need to call unstable_batchedUpdates to manually start batches. Dan explains what batch processing is, how it currently works, what Changes React 18 brings, and the potential Breaking Changes.

If you don’t understand the behavior of the React batch and are wondering why setStates are merged in event callbacks but not in setTimeout calls in event callbacks, this article will do a good job of answering your questions. In addition, React 18 recently released its alpha version. If you are interested in the new features of React 18, you can check out the React 18 Workgroup, which covers the new features and design principles of React 18.

In Suspense SSR architecture for React 18

What it’s all about: React 18 will introduce a new Suspense SSR architecture, a feature the React team has been working on for years to significantly improve React SSR performance and user experience. In Suspense SSR, Dan explains in detail the design purpose, two features and the overall architecture design. Readers can learn the principles, problems and improvements brought about by Suspense SSR with pictures and pictures.

Although Suspense was originally introduced to change the user experience for asynchronous loading, it has always only been used at the front with react.lazy. This will be radically changed in React 18, with Suspense breaking up apps into separate chunks, streaming push with pipeToNodeWritable on the server, and Hydrate by priority with Concurrent Mode in the browser. This allows us to fine-tune SSR content and solve the previous problems with full delivery on the server side and full hydrate on the customer side, bringing functionality similar to BigPipe and significantly improving the user experience.

React 18 New feature: startTransition

React renders can be divided into two categories: Urgent Updates and Transition updates. In React 18, all updates are named Urgent Updates by default. Using an example input box, this article describes how startTransition improves the user experience by changing the rendering priority to Transition updates.

Since the introduction of the Concurrent Mode concept, we have learned that rendering can be prioritized and interruptible. The startTransition API allows us to reduce the priority of certain renderings (heavy rendering logic or heavy network latency) to avoid blocking interactive renderings (click, input, etc.) and improve the user experience. In the past we used setTimeout, debounce, etc., to optimize obstructive rendering, but we need to be aware of startTransition and the difference between them (aware of Pending state, etc.). This is a very important and common optimization tool when React 18 becomes widely available.

Lightweight Postman tool

Postman, a lightweight Rest Client, has been downloaded nearly 16w times in the VSCode plug-in market.

After all, Postman is paid software, and developers often only need a lightweight API test tool in daily business development scenarios. Thunder Client for VSCode may be a better choice.

Ten minutes to decipher the user profile

Abstract: This article introduces what user portrait is, why we need user portrait, what is the meaning of user portrait to us, and user portrait labeling algorithm, so that we have a more comprehensive and clear cognition of user portrait.

Recommendation: User portrait is a very basic technology in the construction of recommendation system, which can be said to be the premise of personalized recommendation service. User portraits must go deep into specific business scenarios. User portraits are different in different business scenarios, but the algorithm for building user portraits is similar with minor differences. Master these technical methods, in-depth understanding of the business scene, is to do a good user portrait of the two major premise.

“Dandelion” magazine, updated weekly, we focus on mining “basic technology, engineering, cross-end framework technology, graphics programming, server development, desktop development, artificial intelligence, design philosophy, front-end framework” and other general direction of the industry hot issues, and professional interpretation; Not only that, we will also recommend the selection of concave and convex technology articles, to show you the research direction of the team.

Look up, dandelion seeds will take root and germinate, such as summer flowers gorgeous; Ge Ge Zhi zhi, we climb to overlook, the sea gleaned, in order to product silicon step to thousands of miles.

Dandelion JELLY Technical Journal Contribution Guide