Skip to content

[Bug]: Something wrong in the rendering behavior. #130

Open
@kickbelldev

Description

@kickbelldev

Package Scope

@use-funnel/react-navigation-native

Bug description

I've tried using that package and found a few things that don't work properly.

  1. __useFunnelState in the query string is being stored as "[Object Object]".

Image

  1. funnel.history.push method just replaces the view instead of stacking it. (code)

2-1. (low priority) In React Native Web with React Navigation, navigation.navigate can't handle browser history. (doc)

Expected behavior

  1. Must be serialized/deserialized correctly.
  2. I think we should integrate Stack Navigator into funnel.Render, and use router.push instead of router.navigate. code

To Reproduce

Please run my example project.

repository link

Possible Solution

  1. Apply JSON parse/stringify wherever __useFunnelState is used. This is just a workaround.
  2. I'm not sure how to resolve this issue..

etc.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions