event is null (v6)
StTronn opened this issue · comments
Rishav commented
import {event as currentEvent} from 'd3-selection';
would result in null.
The reason is there is no event
function in d3-selection (v6).
The solution in #212 is outdated.
Mike Bostock commented
Please read the documentation.