Skip to content

Conversation

@zzhcch
Copy link
Contributor

@zzhcch zzhcch commented Apr 6, 2021

Hi, Greetings.
Me again and I found some new scenario may cause issue here.

[BACKGROUND]

My app is trying to use remote component like a mock preview for ones come from npm/unpkg.
it works as expected when packing every single component with it. but if I try to use a single instance to switch different components in sharing it. it would return an expired one instantaneously which cached in React-state. this is due to the way of React-useEffect works.
so I raise this one. Please take a look.
Thanks for your power tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant