Giter VIP home page Giter VIP logo

Comments (10)

Ashoat avatar Ashoat commented on May 2, 2024 4

The PR to update the official React Navigation docs hasn't been merged yet. Here's the deploy preview.

from redux-helpers.

Ashoat avatar Ashoat commented on May 2, 2024 1

There was a small bug in 2.0.0, but should be fixed now. You can go ahead and update right now to 2.0.1!

from redux-helpers.

ViktorAksionov avatar ViktorAksionov commented on May 2, 2024 1

Example above doesn't work, also this

Some folks like to have their navigation state stored in the same place as the rest of their application state. Think twice before you consider doing this, there is an incredibly good chance that you do not need to do this!. Storing your React Navigation state in your own Redux store is likely to give you a very difficult time if you don't know what you're doing, and support for Redux integration is being depreacted.

is too bold statement. If you did not develop large app where you need to have strict control on each user move then without redux integration it will be easier just to abandon react-navigation and to move to other libs. Please don't be selfish person!

from redux-helpers.

avorona avatar avorona commented on May 2, 2024 1

@Ashoat thanks for the link to the preview, I have needed it a couple hours ago and you had brought it in time

from redux-helpers.

mrikirill avatar mrikirill commented on May 2, 2024

Thanks @Ashoat
Would you recommend to update right now or wait till the official React Navigation doc will updated ?

from redux-helpers.

mrikirill avatar mrikirill commented on May 2, 2024

Ok thanks @Ashoat I will update my app

from redux-helpers.

Ashoat avatar Ashoat commented on May 2, 2024

@YounetBet, I have no idea what you're talking about.

@ViktorAksionov, you're really calling open source volunteers selfish? Anyways, I didn't write that chunk. You can provide feedback on it here. For reference, the "deprecated" chunk is going away.

from redux-helpers.

proutek avatar proutek commented on May 2, 2024

Updated documentation states:
"4. A middleware is needed so that any events that mutate the navigation state properly trigger the event listeners. To properly trigger the event listeners with the initial state, a call to initializeListeners is also necessary."

I have updated my project according to documentation but in example there is no explicit call to initializeListeners. I assume it is done in reduxifyNavigator now.

I'm asking because I have now problems with didFocus event which is not called.

from redux-helpers.

Ashoat avatar Ashoat commented on May 2, 2024

@proutek: Oops, that should be fixed! initializeListeners is deprecated in 2.0.

from redux-helpers.

Ashoat avatar Ashoat commented on May 2, 2024

Docs are merged now.

from redux-helpers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.