Moment For Technology

Read the source code of immer.js closely

This week's storehouse of intensive reading is immer. Immer is one of the most recent projects to take off, developed by Mobx author Mweststrate. For those of you who know Mobx, Immer is a lower-level Mobx that takes mobX's features and makes it very elegant to use when combined with any data flow framework. Immer...

Immer.js usage documentation and practices in the Redux project

Immer is an IMmutable library written by the author of Mobx. The core implementation is to use ES6 proxy to implement JS immutable data structure with minimal cost. It is easy to use, small size, ingenious design, and meets our needs for JS immutable data structure. Helpless network perfect document is too little, so I wrote a, this article...

Immutable. Js and practice in the React + Redux project

Zou Gongyi, a front-end engineer of Meituan Dianping, has 5 years of Web front-end development experience, and is now a member of meituan Dianping ordering team. This article introduces immutable. Js, a library from Facebook, and how to integrate immutable. Js into our existing React + Redux mobile project. This article is longer...

I'm tired of Redux, build a wheel Rectx: Episode 3

You know what? I don't even want to write it, but I can read it myself, and I don't care if I don't. Here we go. You said light-weight will come to feed? It must be. The library is only a few k in size. Second, the new version of Rectx does not rely on React. Context, so it can be used in any React version. Of course, with just 60 lines of core...

Top 6 Frequently Asked Questions about Map in Java

We all know that a Map is a key-value data structure, where each key is unique! This article discusses eight of the most common questions about the use of maps in Java. For simplicity, all examples will use generics. And the generic symbols K and V appear in this paper are inherited implementation Co

Invariant meanings

It is not clear what invariant means when reading this passage. It's a bit confusing to read this introduction without fully understanding it, but I think it makes sense when I do -- and I think the examples used in this entry (loop invariants and MU puzzle) are not easy to understand, class invariant is easier to understand...

Search
About
mo4tech.com (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.