code11 / engine

A declarative state management system
MIT License
9 stars 11 forks source link

brainstorming rules for components and producers #116

Closed alexandru-filimon closed 3 years ago

alexandru-filimon commented 3 years ago

These rules are up for debate

dumconstantin commented 3 years ago

Convention for naming variables:

Example:

const A: producer = ({
  foo = observe.foo,
  updateFoo = update.foo,
  getFoo = get.foo
}) => {
  ...
}