Comments (6)
Don't change current signatures, please!
from patronum.
@doasync What the decision?
from patronum.
There are still discussions... Maybe it should be used as a separate step (with source + targets) and not return source at all (it may be confusing for some users). I admit that it's convenient for using as a target in sample, but not sure if it's a good practice. Maybe it should be integrated into sample
as a part of its functionality.
Let's just leave its current implementation untouched! There are not enough arguments (nor any requests from community) to change its signature for config instead of targets... and the worst part is, it's a breaking change. From a practical standpoint, the current one is better.
from patronum.
@doasync But current implementation will change in #45 . Maybe add support for { source, target }
?
from patronum.
@sergeysova I think, we should add a deprecation warning for spread(targets)
signature first, and/or introduce this change in major version. spread(source, targets)
can cover all needs for now
from patronum.
@doasync We can deprecate it in 0.14.x
branch and latest
npm-tag.
But in master
branch, 0.100+
version, and next
npm version release it without previous form.
from patronum.
Related Issues (20)
- `Reset` method overload HOT 5
- fix types for combineEvents HOT 1
- Add type tests for `time` operator
- Return `Store` and `StoreWritable<T>` whenever it is meaningful HOT 4
- debounce typing does not support void HOT 2
- Clock-less `delay` HOT 3
- Operator proposal: ```toggler``` HOT 3
- Allow array of targets in `delay` HOT 1
- Spread doesn't allow to pass a narrower type to a wider one HOT 1
- Remove `forward` using HOT 1
- Add `createToggle ` operator HOT 6
- `@@debug` protocol + integration for `debug` operator HOT 3
- reset argument for `once` operator
- pass argument ms from started into tick (interval)
- Add shorthands for common cases HOT 1
- Add API for converting StoreWritable and EventCallable to readonly HOT 3
- Type-incompatible `TriggerProtocol` with Farfetched HOT 1
- multiple targets for spread
- Allow to skip spread updates with special token HOT 3
- Operator proposal: `defer` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patronum.