Skip to content

Better treeshaking of ajax methods: Is it ok to import from rxjs/internal/*? #5994

Answered by kwonoj
rart asked this question in Q&A
Discussion options

You must be logged in to vote

internal as name stands for it is not public entrypoint. Importing non-public subpath is not gauranteed by semvor and can break anytime.

it'd be nice not to have the whole rest of the ajax package in.

what is imported when you treeshake with importing ajax? ajax helper method / others are thin wrapper to ajaxObservable so in most cases it'll be needed anyway.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rart
Comment options

@kwonoj
Comment options

Answer selected by kwonoj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants