remove = (path, onComplete, options) =>
    queryActions.remove(firebase, dispatch, path, options).then(() => {
      if (typeof onComplete === 'function') onComplete()
      return path
    })
Removes data from Firebase at a given path. **NOTE** A
seperate action is not dispatched unless `dispatchRemoveAction: true` is
provided to config on store creation. That means that a listener must
be attached in order for state to be updated when calling remove.
@param {string} path - Path to location on Firebase which to remove
@param {Function} onComplete - Function to run on complete (`not required`)
@param {Function} options - Options object
@returns {Promise} Containing reference snapshot
@see https://react-redux-firebase.com/docs/api/firebaseInstance.html#remove
@example <caption>Basic</caption>
import React from 'react'
import PropTypes from 'prop-types'
import { firebaseConnect } from 'react-redux-firebase'

function Example({ firebase: { remove } }) {
  return (
    <button onClick={() => remove('some/path')}>
      Remove From Firebase
    </button>
  )
}
export default firebaseConnect()(Example)