Géry Debongnie
8fb35ed969
[FIX] owl: add prettier to devDependencies
...
also, run prettier on codebase
closes #498
2019-11-27 08:06:17 +01:00
Sébastien Theys
c993278c80
[IMP] store: allow useStore to return primitive types
...
Related to #404
2019-11-26 22:17:05 +01:00
Aaron Bohy
79983de4ed
[FIX] context: notify changes even if owner not mounted
...
Closes #444
2019-11-15 07:34:15 +01:00
Géry Debongnie
b211e75140
[IMP] store: display error if no store found
2019-11-04 08:41:29 +01:00
Aaron Bohy
05a678c039
[IMP] component: get env from constructor
...
closes #430
2019-11-01 08:39:35 +01:00
Aaron Bohy
9106c19066
[IMP] component: simplify constructor API
...
It now takes two arguments: parent (optional, only for non-root
components) and props (optional). In the case of the root component,
the env is taken from the config (config.defaultEnv). If it doesn't
exists, the default env is created on the fly.
Closes #306
2019-10-30 15:09:10 +01:00
Aaron Bohy
9c5cad15c1
[IMP] component: refactor rendering pipeline
...
This commit introduces a brand new rendering system based on a fiber
class and a scheduler.
closes #330
2019-10-25 16:01:52 +02:00
Aaron Bohy
23246c42aa
[REF] *: snakecase filenames
2019-10-14 11:06:59 +02:00
Géry Debongnie
895fe7c60f
[REF] store: replace ConnectedComponent by useStore hook
...
Closes #304
2019-10-14 11:06:59 +02:00