Skip to content

v2.3.0

Compare
Choose a tag to compare
@ekosz ekosz released this 24 Oct 01:41
· 44 commits to master since this release

This release adds one new action

clear

The clear action can be dispatched to clear out all of the falcor state from the redux store. This is useful for events like logout.

import { clear } from 'redux-falcor';

// Data in store
store.dispatch(clear())
// Data is not in store

Unlike other actions, this action does not return a promise. Also to note, this action currently does not touch the falcor cache, only the redux store.