react

Thoughts of Data Bindings Strategies in React and Vue

Designing components with graceful data flow

Months ago, I started working for an enterprise which uses Vue.js for most of its web projects. The other day, I was trapped in a problem when I was trying to implement a checkbox-like component with Vue, for which I need to implement a two-way binding pattern(known as v-model). Were

StackOverflow 精选 - SSR vs Code Splitting

为什么有 WebPack 的 CodeSplitting 还需要 SSR?

原文地址 The pros and cons of react ssr with code splitting and now React.Lazy I am slightly confused about the merits of ssr and code splitting and and code splitting done solely on the client. My thoughts are that server rendering the page first will lead to

You Might Not Know "this"

Why THIS behaves THIS way???

Translations: ZH-CN
中文版请戳我 Motivation If you are familiar with React.js, you should know that if you add an event listener to an element like the following, you get a syntax error when you try triggering the click event. // JSX class Test extends React.Component { handleClick ()