Skip to content
This repository has been archived by the owner on Nov 26, 2018. It is now read-only.

Commit

Permalink
feat: remove mapObs
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `mapObs` is removed and remplaced by `withObs`
  • Loading branch information
gregberge committed Apr 25, 2017
1 parent 74b3744 commit 53e5c5f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 88 deletions.
57 changes: 0 additions & 57 deletions src/__tests__/mapObs.test.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import isClassComponent from './isClassComponent'
import isReferentiallyTransparentFunctionComponent
from './isReferentiallyTransparentFunctionComponent'
import lifecycle from './lifecycle'
import mapObs from './mapObs'
import mapProps from './mapProps'
import mapPropsStream from './mapPropsStream'
import nest from './nest'
Expand Down Expand Up @@ -70,7 +69,6 @@ export {
isClassComponent,
isReferentiallyTransparentFunctionComponent,
lifecycle,
mapObs,
mapProps,
mapPropsStream,
nest,
Expand Down Expand Up @@ -122,7 +120,6 @@ export default {
isClassComponent,
isReferentiallyTransparentFunctionComponent,
lifecycle,
mapObs,
mapProps,
mapPropsStream,
nest,
Expand Down
27 changes: 0 additions & 27 deletions src/mapObs.js

This file was deleted.

3 changes: 2 additions & 1 deletion src/withObs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import shareObservable from './utils/shareObservable'
import createHelper from './createHelper'

/**
* Similar to `mapObs` except that observables will be merged to the previous ones.
* Takes observables from the context and special observable `props$` an map them
* to a new set of observables.
*
* @static
* @category Higher-order-components
Expand Down

0 comments on commit 53e5c5f

Please sign in to comment.