cerebral-legacy / cerebral-website

Cerebral website
http://cerebral-website.herokuapp.com
8 stars 14 forks source link

Workflow notes #33

Open christianalfoni opened 8 years ago

christianalfoni commented 8 years ago

So maybe we could make a default rule:

"Never pass props into a Cerebral component. Use signals to trigger state changes and extract state from state store. Only pass props to stateless components" So then you have statefulcomponents, which gets their props from Cerebral. And then you have stateles components which gets their props from parents nice separation

Guria commented 8 years ago

actual?