Using the Flow Docs description for how to subscribe to events is simply:
// in some react component
fcl.events(eventName).subscribe((event) => {
console.log(event)
})
However all attempts at using this give the error:
Error: invalid query: start block must be <= end block
Along with a bunch of warnings for the use of the deprecated latestBlock() instead of block().
Am I to assume the events attribute is no longer being supported? How should I poll for my contract events? Continuously calling getEventsAtBlockHeightRange() seems an inconvenient solution. Appreciate any insight!