Skip to content

import fromEvent from 'xstream/extra/fromEvent' not working in Opera 68  #311

@ovidiugabriel

Description

@ovidiugabriel

import fromEvent from 'xstream/extra/fromEvent'

Uncaught SyntaxError: Cannot use import statement outside a module

I am following the tutorial at https://egghead.io/lessons/rxjs-read-effects-from-the-dom-with-click-events
It looks like fromEvent is not Rx.Observable.fromEvent either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions