Skip to content

feat(HOCs): option to re-render HOCs based on auth state change #367

Open
@klis87

Description

@klis87

Do you want to request a feature or report a bug?
bug

What is the current behavior?
After user login, items should be fetched from database. Currently, browser refresh is required, which shouldn't be necessary.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.

  1. Go to https://www.webpackbin.com/bins/-L1PEJ-wkb21zcAApIG8
  2. Click Login, user is logged in but no todos are loaded
  3. Refresh the page - now todos are loaded, but it required page reload

What is the expected behavior?
Todos should be fetched after user is logged in, without page refresh being required

Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?
firebase: 4.8.1, react-redux-firebase: 2.0.0-rc.1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions