React Patterns

原文:reactpatterns.com


Contents

Stateless function

JSX spread attributes

Destructuring arguments

Conditional rendering

Children types

Array as children

Function as children

Render callback

Children pass-through

Proxy component

Style component

Event switch

Layout component

Container component

Higher-order component

State hoisting

Controlled input

你可能感兴趣的:(React Patterns)