ReactiveX / ReactiveX/rxjs

TypeError: You provided an invalid object where a stream was expected.

Open
#6,775 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
31.7k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

After updating Chrome on 97.0.4692.71, I have got some interesting bugs, when I import method 'from' like import { from } from 'rxjs' i have TypeError: You provided an invalid object where a stream was expected. But on Firefox and Safari, it works, and when I try to import method 'from' like import { from } from 'rxjs/internal/observable/from' it works on Google Chrome but not working for Firefox and Safari.
I am using "rxjs": "^6.5.5", all this problem cause when i try to do next
const $store = from(store); store - is Redux store.

Expected behavior

I am expected the method 'from' should work on all browsers equally.

Reproduction code
import { from } from 'rxjs';
const $store = from(store);
Reproduction URL

No response

Version

6.5.5

Environment

No response

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the public from import from rxjs and compare it with rxjs/internal/observable/from using the provided from(store) reproduction. Reproduce the behavior in Chrome 97, Firefox, and Safari, then trace the browser-specific difference. Done means the public import handles the Redux store consistently across the reported browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
api, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.