A history of React state logic reuse!
A history of React state logic reuse!
Functional Programming: Functor
Who would have thought that Promise is also a part of functional programming?
Redux Middleware: From Getting Started to Writing Your Own
A deep dive into understanding Redux middleware internals and writing custom middleware for async requests and error handling.
Summary and Reflections on the 11th D2 Conference
My first time attending such a tech conference, seeing various frontend celebrities in person—the influencers from Zhihu and Weibo suddenly felt within reach. Here are my reflections and summary.
What Is Currying Actually Useful For in Functional Programming?
Functional programming has been increasingly active lately. When I was interning last year, I bought a copy of “Functional Programming in JavaScript,” read through it hastily with only a vague understanding. After re-reading it this year, I’m writing this blog post to share my understanding of currying.
Node.js Morgan Module and Cluster Module
I’ve been tinkering with Node.js recently, following along with “Node.js in Action” to implement the Microblog project. Since the book was written in 2012, and Node has since been updated to v5.9.0 with Express also having undergone significant changes, much of the code in the book no longer works with current versions. For the implementation details, you can refer to this article: “Node.js Development Guide” Microblog Example with Express 4.x. BTW, the Express startup command has changed to npm start, which executes the www file in the bin directory, equivalent to running node ./bin/www directly. This post briefly covers the logging and multi-core CPU optimization topics mentioned in Chapter 6, along with an introduction to a debug tool. The complete Microblog code is available on GitHub: Click here