Aria Minaei
|
bfba1d4879
|
Unify Derivation and Prism 2/n
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
12b3f477bc
|
Unify Derivation and Prism (1/n)
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
e9bbb0ef41
|
Remove PrismDerivation.map/flatMap()
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
a073984b2f
|
Mark add/removeDependent() as internal
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
194de8d833
|
Simplify Derivation.onChange()
It no longer uses `DerivationEmitter`.
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
a24a149a52
|
Remove Derivation.tapImmediate()
This is now just an extra flag on `Derivation.onChange()`
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
f2bb24ef99
|
Change the signature of Derivation.changes() to Derivation.onChange()
This way, we no longer expose the `Tappable` interface so we can remove it later.
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
f1cb8edc91
|
Simplify Derivation.onStale()
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
5c1aa1cd50
|
Remove Derivation.changesWithoutValues()
And replace it with `Derivation.onStale()`
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
63228fd86a
|
Simplify prism.state()
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
ee68112867
|
Implement prism.source()
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
b117ee0aff
|
Retire DerivationFromSource (1/2)
This is supposed to break the build. In the next commit, I'll implement `HotScope.source()` to fix the build.
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
ed322b66de
|
Separate the hot path from the cold path in prisms
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
c81fe11e52
|
Rename Prism.changesWithoutValues() to onStale()
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
a71fff0c73
|
Don't expose PrismDerivation as a class
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
e0a61981c9
|
Have PrismDerivation no longer extend AbstractDerivation
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
0655e5b1c4
|
Add performance note about prism scopes
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
6d7d461223
|
Remove all WeakMaps from prism's scope
... making it easier to debug prism scopes. Again, there is a perf regression here.
|
2023-01-04 20:49:43 +01:00 |
|
Aria Minaei
|
1c69cb7055
|
Save prism effects in the prism scope, rather than a WeakMap
... for easier debugging, but there is a perf regression which I
can't yet quantify as the benchmark suit doesn't support comparisons.
|
2023-01-04 20:49:43 +01:00 |
|
Cole Lawrence
|
f1844952ea
|
Add initial tools for managing derivations and React compatibility (#202)
Co-authored-by: Cole Lawrence <cole@colelawrence.com>
Co-authored-by: Elliot <key.draw@gmail.com>
Co-authored-by: Aria <aria.minaei@gmail.com>
|
2022-06-09 19:12:40 +02:00 |
|
Cole Lawrence
|
abd79b197f
|
doc + optimize: prism.ts (use Map s)
|
2022-05-05 07:58:44 -04:00 |
|
Aria Minaei
|
c9959b9541
|
More lint fixes
|
2022-04-09 15:30:20 +02:00 |
|
Fulop
|
949fe935cb
|
Improve the documentation of dataverse (#116)
|
2022-04-06 17:28:08 +02:00 |
|
Aria Minaei
|
e2c98669f9
|
Document more of prism
|
2022-03-15 14:55:06 +01:00 |
|
Aria Minaei
|
aec6b2a251
|
Fix a bunch of eslint warnings
|
2022-02-23 22:53:39 +01:00 |
|
Andrew Prifer
|
599cc101c9
|
Document dataverse API
|
2022-01-19 15:55:36 +01:00 |
|
Aria Minaei
|
64273366ed
|
Put SnapshotEditor inside a Pane
|
2021-07-14 18:37:32 +02:00 |
|
Aria Minaei
|
b89942dbff
|
Minor change to discoveryMechanism's api
|
2021-07-07 11:50:23 +02:00 |
|
Aria Minaei
|
4a7303f40a
|
Initial OSS commit
|
2021-06-18 13:05:06 +02:00 |
|