import React from "react"; import { useClutch } from "use-clutch"; const store = { value : "not update" }; const reducer = async (state, action) => { switch(action.type) { case "action": return { value : "updated!" }; default: return state; } }; const App = () => { const { state, dispatch } = useClutch(reducer, store); const onClick = () => dispatch("request", { type : "action" }); return ( <butto