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

fix(bara): new operators and change hook function name #20

Merged
merged 22 commits into from
Apr 26, 2019
Merged

Conversation

nampdn
Copy link
Collaborator

@nampdn nampdn commented Apr 21, 2019

this making it easier to do functional programming

  • Hook
  • rename classOf to kindOf.
  • TouchableOpacity
  • rename useTouchableOpacityPress to whenTouchableOpacityPress
  • add useTouchableOpacityPressIn, useTouchableOpacityPressOut, useTouchableOpacityLongPress
  • Touchable
  • add useTouchablePressIn, useTouchablePressOut, useTouchableLongPress

this making it easier to do functional programming
@nampdn nampdn self-assigned this Apr 21, 2019
@nampdn nampdn changed the title feat(TouchableOpacity): change the way hook take params fix(bara): new operators and change hook function name Apr 25, 2019
@nampdn nampdn added the enhancement New feature or request label Apr 25, 2019
@nampdn nampdn merged commit 319bff7 into master Apr 26, 2019
nampdn pushed a commit that referenced this pull request Apr 26, 2019
# [3.0.0](v2.0.4...v3.0.0) (2019-04-26)

### Bug Fixes

* **bara:** new operators and change hook function name ([#20](#20)) ([319bff7](319bff7))
* **Text:** correct Text new API event ([da75cf4](da75cf4))
* **TouchableOpacity:** bind event to bara with React event.persist() to preserve its props ([79a23dd](79a23dd))

### Features

* **functions:** new opearator useComponentsStream for register all stream at once (can exclude) ([447b6ad](447b6ad))
* **Text:** use new Bara hook piper ([f7bc046](f7bc046))
* **Touchable:** add `onPressIn`, `onPressOut`, `onLongPress` ([6d14a05](6d14a05))
* **Touchable:** change hook params with new Bara API ([cea652b](cea652b))
* **Touchable:** rename condition piper ([7844f5a](7844f5a))
* **TouchableOpacity:** add new event handler and change hook method ([279c814](279c814))
* **TouchableOpacity:** change the way hook take params ([6989026](6989026))
* **View:** change hook function params with new Bara API ([beeec75](beeec75))

### BREAKING CHANGES

* **View:** make hook API pipable
* **TouchableOpacity:** change method name of `useTouchableOpacityPress` to `whenTouchableOpacityPress`
@nampdn
Copy link
Collaborator Author

nampdn commented Apr 26, 2019

🎉 This PR is included in version 3.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant