Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1 feat filter changed #353

Merged
merged 13 commits into from
Oct 29, 2019
Merged

Conversation

janryWang
Copy link
Collaborator

@janryWang janryWang commented Oct 29, 2019

支持官方rxjs过滤器filterChanged,使用它可以轻松过滤字段状态的具体状态的变化,比如

effects={($)=>{
  $('onFieldChange','aaa')
   .pipe(filterChanged('value'))
   .subscribe(()=>{
      console.log('只有值变化的时候才会触发')
   })
}}

@janryWang janryWang merged commit fc516fb into alibaba:v1 Oct 29, 2019
@janryWang janryWang deleted the v1_feat_filter_changed branch October 29, 2019 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant