@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
14 lines • 447 B
JavaScript
import { useDispatch, useSelector } from "react-redux";
/**
* Typed dispatch hook for Replyke.
* Works in both standalone and integration modes.
*/
export const useReplykeDispatch = () => useDispatch();
/**
* Typed selector hook for Replyke state.
* Works in both standalone and integration modes.
*
* State is always accessed via the 'replyke' namespace.
*/
export const useReplykeSelector = useSelector;
//# sourceMappingURL=hooks.js.map