Skip to content

What is the intended way of importing lettable operators? #3018

@sarunint

Description

@sarunint

RxJS version: 5.5

I've been using lettable operators since 5.5 was in beta, it was great. But I have a few concerns regarding the way to import them.

Are we supposed to do this:

import { map } from 'rxjs/operators';

or:

import { map } from 'rxjs/operators/map';

Either way, it works the same. But for the sake of consistency, shouldn't there be only one way of doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions