At home and abroad, the latest developments in the front end
-
Node.js LTS V8.0 release: On May 30, Node.js announced on its official blog the release of Node.js V8.0.0, codenames Carbon, which brings a number of important feature improvements and a number of new features. Typical changes include the introduction of async_hooks to monitor asynchronous operations, the introduction of N-API to develop native plug-ins, improved Buffer security, and the upgrade of NPM to version 5.0.0 (parg.co/bJh)
-
In Google IO 2017, Paul Irish wrote an article titled DevTools: State of the Union talks about the new features coming to Chrome DevTools. New features include new Audits panels based on Lighthouse, third-party request identifiers, stepped-debugging support for asynchronous code, and more. ( parg.co/bJR )
-
Github announces full migration of THE V4 API to GraphQL. Github has announced in a blog post that it will use GraphQL only in the V4 API and will no longer provide a RESTFUL interface. Github believes that GraphQL offers significant flexibility and convenience to help users build queries and retrieve data more easily and flexibly. ( developer.github.com/v4/ )
-
Styled – Components V2 Release: After 6 months of iterations and over 300 submissions, Styled – Components announces the release of its V2 version. The package size is further reduced, and critical path CSS extraction is provided, as well as many new apis. ( parg.co/bJM )
Step by step, master the basics
-
Node.js Streams: Node.js Steams has long been criticized for being difficult to understand and use, and in recent years many developers have created libraries to make it easier to use Node.js Streams. This article, however, focuses on the basic syntax of Node.js Streams and clears up common misconceptions. This article first introduces the concept of Stream with a simple example of using Stream to read a file, and then introduces four streams in Node.js and how they are implemented. ( parg.co/bJN )
-
8 Common NPM Tips: NPM is an inevitable scripting tool for front-end development, and this article introduces several common NPM tips. This includes initializing packages, running tests, enumerating available script commands, viewing installed packages, and more. ( parg.co/bJO )
-
REST API Basics: As one of the current mainstream definitions of interface styles, REST plays an important role in data interaction. This article starts from the basics of REST style to introduce the origin of REST, the design concept of REST, and the aspects and principles that should be considered and followed when designing RESTful apis in real applications. (restful. IO/rest – API – ba…
-
React to Vue.js: React and Vue.js are both excellent front-end frameworks, and different teams may have different preferences in different application scenarios. This paper records the author’s thinking process in migrating from React to vue.js. This article first introduces the similarities and differences between React and vue.js, compares their common syntactic features and ecosphere, and discusses the reasons for migrating from React to vue.js. ( parg.co/bJ8 )
-
Vuex-based Vue Application State Management: As with other component-based frameworks, tracking state for VUe-based applications becomes more cumbersome as they grow in size and functionality. This paper analyzes the pain points of state management and introduces how to use Vuex for Vue application state management. ( parg.co/bJk )
Base on practice, prompt actual level
-
Pain Points, Analysis, and Improvement for Redux State Management: How to design a Redux Store? This is one of the most common questions Redux is asked in practice. You may have your own way, but something is not quite right. This article hopes to analyze and compare with Redux from what state is to state management in Elm to find problems and deduce feasible improvement methods. ( parg.co/bJq )
-
JavaScript Unit Testing Frameworks Chaos: Jasmine, Mocha, AVA, Tape, and Jest: When starting a new front-end project, we often think about which unit testing framework to use or which code to add unit tests to. This paper makes a horizontal comparison of the commonly used unit testing frameworks in Web development, such as Jasmie, Mocha, AVA, Tape and Jest. Based on my own experience, this paper proposes the options of different unit testing frameworks in different application scenarios and requirements. ( parg.co/bJ5 )
-
React Europe 2017: This post, written by The author at the React Europe Conference 3, is a great way to get a glimpse of the React ecosystem and where it’s headed. This article starts with an introduction to the upcoming React 16 and the new harmonic algorithm Fiber, then introduces some tools to help build high-quality JavaScript code, and finally discusses stream-based frame-by-frame rendering. ( parg.co/bJt )
-
Common Recompose HOCs: Recompose, published by Andrew Clark, is a handy auxiliary library for building higher-order components. This article introduces practical uses of common HOCs such as Branch, mapProps, withState, lifeCycle, and Nest. ( parg.co/bJV )
-
Flexbox Spec: Flexbox is one of the most common layouts in Web front-end development. It is easy to use and flexible. However, after reading the Flexbox Spec, the author of this article made a number of discoveries beyond basic usage. This article introduces margin, min-width, and the hidden nature of each property in Flex layout. ( parg.co/bJJ )
Deep thinking, sublimation development wisdom
-
“Vue 2017 Status and Outlook” : On May 20th, at the first VueConf in the world, the author of Vuue. Js, You Yuxi, introduced the current status of Vuue. Js 2017 and made a forecast for the future of Vue. This article is a review of the presentation. For more Vue related content, please pay attention to the top of the front-end public account and reply to “Vue”. ( parg.co/bJ6 )
-
Composing in Software Development: In Composing for Software development, Eric Elliott wrote a preface to his Composing Software series on functions and objects commonly used in Software development. The process of our software development is to continuously combine small modules into a complete system step by step. We inevitably need to combine and schedule multiple functions, or combine simple classes into complex business classes by inheritance and other means. ( parg.co/bJ4)
-
“The Future of Web Front-end Development” : The author of this paper imagines the possible direction of future Web front-end development from his own practice; These include new JavaScript features and deeper state management, the transition from simple interfaces to full systems, the erosion of the border between native and Web, the modularization of CSS and the obsolescence of preprocessors, performance remaining a key bottleneck, and urls Will become more and more important. ( parg.co/bJr )
-
Uniform Style Language: CSS-in-JS has developed rapidly in recent years, and various implementation libraries have emerged in an endless stream. The author of this paper, also one of the authors of CSS Modules, introduces the characteristics and problems of CSS-In-JS from a strategic perspective, and combs out people’s misunderstandings about CSS-In-JS before. In addition, it compares the advantages and disadvantages of several CSS-IN-JS and its application scenarios. Finally, it also imagines the future of CSS-In-JS. ( parg.co/bJi )
Willing to share, push forward the front-end development
-
Chromatism: Chromatism is a collection of functions for common color conversion operations, providing color conversion, chromatic difference color temperature calculation, and other functional functions. (github.com/toish/chrom…).
-
Workbox: Workbox is a JavaScript library from the Google Chrome team that quickly converts existing Apps into Progressive Web Apps; Workbox allows you to quickly create and load ServiceWorkers for current application resources using Webpack plug-ins, Gulp plug-ins, and NPM scripts. ( workboxjs.org/ )
-
Hyperloop: Hyperloop is a release and scheduling system that serves meituan-Dianping client, including component release, continuous integration, App packaging and construction, and resource scheduling. After accessing the Hyperloop system, developers can manage their own projects through Hyperloop, and configure the steps and check items needed for release and packaging. After the development is complete, users only need to log in to the Hyperloop to perform related operations. The Hyperloop will invoke different steps according to the configuration of the project, report the status of each step, and provide error logs and status notifications. (tech.meituan.com/iOS_Hyperlo…).
-
Pix2code: Pix2Code relies on deep learning to turn interface images from designers into code in iOS and other clients. (github.com/tonybeltram…).
-
Birdview.js: Birdview.js is a very interesting JavaScript plug-in that gives the user a bird’s eye view of the entire page and allows direct access to the selected point. ( achrafkassioui.com/birdview/ )
Take in the mountains, listen to the peak story
From big company to startup, how tech people change their thinking and way of doing things? : This article for the cloud pole star and co-founder and CTO shi-min liu on the QCon Beijing 2017 speech, he from one’s own work experience, from the Angle of engineers’ resonate with the audience, from large corporations to start-up, need to change the idea and way of doing things, principled, and also has a real case and the side of the story, Some soft skills of engineers are interspersed. Co/bJL) (parg.
Today’s recommendation,
Click on the image below to read it
Front-end Weekly Checklist No. 14: Vue status and Outlook, Writing modern JavaScript code, Security Self-check list for Web developers
GMTC 2017 will be held in Beijing from June 9 to 10. GMTC 2017 is the first “big Front end” conference for mobile, front-end, cross-platform and AI applications. Scan the qr code below and go to the official website for details!
InfoQ is a vertical community focused on front-end technology. To join the InfoQ learning group, please follow the “Front-end top” public account and reply to “Add group”. To share or contribute, please send an email to [email protected], marked “Contribute to the top of the front”.