JSFiddle - React, Tailwind, and code Playground by Viet27th August 20, 2018 JavaScript let dispatch = (b) => { b(); } dispatch((x) => { console.log('ahi',x) })