Giter Club home page Giter Club logo

Comments (10)

listenzz avatar listenzz commented on June 1, 2024 1

Navigator.push 需要传递组件 id. 本库也支持类似方式, Navigator.dispatch(...),0.8.0 开始支持,还没发版,不过 Playground 这个项目可以体验到了

from hybrid-navigation.

VictorYuan666 avatar VictorYuan666 commented on June 1, 2024

就是我有个公共的组件并没有注册页面 我如何实现跳转? 你们的app是如何处理的?

from hybrid-navigation.

listenzz avatar listenzz commented on June 1, 2024

父组件传递进去

from hybrid-navigation.

VictorYuan666 avatar VictorYuan666 commented on June 1, 2024

react native navigation中使用了 Navigator.push 这种API 感觉这种比较方便点

from hybrid-navigation.

treemore avatar treemore commented on June 1, 2024

this.props.navigation 这个是不是在master分支上面改名成this.props. navigator 了 ?

from hybrid-navigation.

listenzz avatar listenzz commented on June 1, 2024

@treemore 是的,但是通过 this.props.navigation 也可以取到

from hybrid-navigation.

iloveyumiforever avatar iloveyumiforever commented on June 1, 2024

可不可以講一下 Navigator.dispatch 怎用啊,沒文件

from hybrid-navigation.

listenzz avatar listenzz commented on June 1, 2024

以 push 为例:

Navigator.dispatch(this.props.sceneId, 'push', { moduleName: 'xxxxx'});

from hybrid-navigation.

iloveyumiforever avatar iloveyumiforever commented on June 1, 2024

請問這個 this.props.sceneId 是指?

from hybrid-navigation.

iloveyumiforever avatar iloveyumiforever commented on June 1, 2024

可以了 感謝

from hybrid-navigation.

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.