Open in app

Sign In

Write

Sign In

南小北
南小北

63 Followers

Home

About

Dec 7, 2022

Watch, a more elegant way to monitor antd Form field changes

When using antd Form, it is a very common requirement to monitor the change of a certain field and render different UI according to different field values. So in antd Form, how to monitor the change of a certain field? 1. form.getFieldValue Before antd@4.20.0, assuming that we want to monitor the changes…

Ant Design

4 min read

Watch, a more elegant way to monitor antd Form field changes
Watch, a more elegant way to monitor antd Form field changes
Ant Design

4 min read


Dec 6, 2022

Ant Plus 5, Ant Design Form Simplified, make forms easier

Ant Design Form Simplified, build Form in the simplest way. Now Ant Plus 5 is released, redesigned and rewritten with TypeScript. GitHub https://github.com/nanxiaobei/ant-plus Feature Say goodbye to cumbersome <Form.Item> and rules Full TypeScript hinting support Easily extend existing form components Installation pnpm add antx # or yarn add antx # or npm i…

React

3 min read

Ant Plus 5, Ant Design Form Simplified, make forms easier
Ant Plus 5, Ant Design Form Simplified, make forms easier
React

3 min read


Jul 19, 2022

🪺 Introducing hugo-paper 6.0

Paper hugo-paper is a Hugo theme inspired by the paper reading experience to provide the best rendering of text. There are currently 900+ GitHub Stars, and users from 13 countries around the world have submitted language packs. Paper 6.0 is now officially released, refactored with Tailwind CSS, and redesigned. Demo Let’s take…

Hugo

2 min read

🪺 Introducing hugo-paper 6.0
🪺 Introducing hugo-paper 6.0
Hugo

2 min read


Apr 6, 2022

🧿 Turn React into SolidJS, update on demand, no more re-render

1. What is SolidJS? We all know SolidJS, if not, why are you reading this article! We all know SolidJS, here is its doc: https://www.solidjs.com Put it simply, SolidJS is the real “react” version of React, which is completely updated on demand, and where data changes are updated. For example, a component: function App()…

React

6 min read

🧿 Turn React into SolidJS, update on demand, no more re-render
🧿 Turn React into SolidJS, update on demand, no more re-render
React

6 min read


Feb 17, 2022

resso, world’s simplest React state manager

1. resso, React state management has never been so easy resso is a brand-new state manager for React, aims to provide the world’s easiest way to use. resso also implements on-demand updating. If the unused data changed, it will never trigger the component updating. GitHub: https://github.com/nanxiaobei/resso import resso from 'resso'; const store = resso({ count: 0, text: 'hello' }); function…

React

6 min read

resso, world’s simplest React state manager
resso, world’s simplest React state manager
React

6 min read


Feb 10, 2022

React State Management in 2022

1. What is “state”? In the era of jQuery, JS code is mixed with DOM structure. When various processes are complex and intertwined, it forms spaghetti code. When using publish/subscribe model, debugging will be messy. jQuery is imperative programming for “process”, and so many commands are ultimately to update the “data” in the UI…

React

7 min read

React State Management in 2022
React State Management in 2022
React

7 min read


Dec 10, 2021

What’s React Forget? React without memo

This is @Huxpro share on React Conf 2021. A brief introduction.

React

3 min read

What’s React Forget? React without memo
What’s React Forget? React without memo
React

3 min read


Nov 7, 2021

React Split Components: A new way of Function Components without Hooks

1. The Problem of Function Components and Hooks 1. Why Function Components? Why does React officially promote Functional Components? Class Components isn’t “unusable”. Because Functional Components are more in line with React’s philosophy UI = f(state). So Hooks came, bringing “internal variables” and “side effects” to Function Components, making them fully functional. it’s also a “logic sharing” solution.

React

6 min read

React Split Components: A new way of Function Components without Hooks
React Split Components: A new way of Function Components without Hooks
React

6 min read


Oct 29, 2021

React Server Components 20 years ago

I watched the introduction video of React Server Components again. I can’t help thinking that isn’t the PHP web page development is Server Components? The original intention of JavaScript is to handle client interaction like Client Components. We also know that the birth of React itself has something to do…

React

3 min read

React Server Components 20 years ago
React Server Components 20 years ago
React

3 min read


Aug 30, 2021

Disable CSS Modules in Next.js project

Next.js turns on CSS Modules by default, and no switch is provided. If you don’t want it, you can modify the webpack configuration in next.config.js: const path = require('path'); module.exports = { webpack(config) { // if not work, try `config.module.rules[2]...` config.module.rules[3].oneOf.forEach((one) => {…

React

1 min read

React

1 min read

南小北

南小北

63 Followers

lee.so

Following
  • Muzli

    Muzli

  • Brandon Anderson

    Brandon Anderson

  • Julie Zhuo

    Julie Zhuo

  • Bobby Tung

    Bobby Tung

  • Iren Korkishko

    Iren Korkishko

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech