zhouzhongyuan / qa

Questions recods
MIT License
5 stars 1 forks source link

Component是什么? #53

Open zhouzhongyuan opened 7 years ago

zhouzhongyuan commented 7 years ago

Conceptually, components are like JavaScript functions. They accept arbitrary inputs (called "props") and return React elements describing what should appear on the screen.