beginners, frontend, javascript, riotjs

Share Data between Riot Components with Mitt (event emitter)

Example of dialog component made with RiotJS to emit Event to a listener. <c-dialog> <dialog class=” {state.active ? ‘active ‘ […]