You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a specific hook from react-fire breaks the rendering of some list based components, but only on second time rendering the routes
🤔 Expected Behavior
The rendering of components should not be affected.
😯 Current Behavior
Page one has no react-fire wired up, Page two does.
The first render or route render is all the same. But switching routes, the subsequent renders with react-fire break some components from displaying entirely.
💁 Possible Solution
react-fire is using observables, so maybe that is interfering with the internals of spectrum somehow?
I first thought that all List based components are affected, but the ActionGroup works fine, so that's not it.
While debugging, the ListView went to render the ListViewItem and reached the statement, but somehow the debugger inside ListViewItem never fired for some reason, as if he never stepped in there.
Since that component is alpha, I thought it might be a component issue, but ListBox behaves the same.
I am aware that this might be an issue with react-fire, but still wondering why a component would stop rendering like that.
🔦 Context
I am building an app with Firebase and spectrum but this bug makes it impossible to continue.
🐛 Bug Report
Using a specific hook from react-fire breaks the rendering of some list based components, but only on second time rendering the routes
🤔 Expected Behavior
The rendering of components should not be affected.
😯 Current Behavior
Page one has no react-fire wired up, Page two does.
The first render or route render is all the same. But switching routes, the subsequent renders with react-fire break some components from displaying entirely.
💁 Possible Solution
react-fire is using observables, so maybe that is interfering with the internals of spectrum somehow?
I first thought that all
List
based components are affected, but theActionGroup
works fine, so that's not it.While debugging, the
ListView
went to render theListViewItem
and reached the statement, but somehow the debugger insideListViewItem
never fired for some reason, as if he never stepped in there.Since that component is alpha, I thought it might be a component issue, but
ListBox
behaves the same.I am aware that this might be an issue with
react-fire
, but still wondering why a component would stop rendering like that.🔦 Context
I am building an app with Firebase and spectrum but this bug makes it impossible to continue.
💻 Code Sample
https://codesandbox.io/s/spectrum-93izg?file=/src/App.js
🌍 Your Environment
The text was updated successfully, but these errors were encountered: