12

《精通react/vue组件设计》之配合React Portals实现一个功能强大的抽屉(Drawer)组件

 4 years ago
source link: https://juejin.im/post/5e3e7b8fe51d4526fb5dcddb
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前言 本文是笔者写组件设计的第六篇文章,内容依次从易到难,今天会用到react的高级API React Portals,它也是很多复杂组件必用的方法之一. 通过组件的设计过程,大家会接触到一个完成健壮的组件设计思路和方法,也能在实现组件的过程逐渐对react/

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK