3
dakkarant
39d

I just want a back button in the header of my app because the average user is too braindead to use the hardware back button, why does that have to be so hard to configure!

Comments
  • 0
    What you using for tech? Is it a web app, or something else?
  • 0
    @jschmold react-native, but i just made my own header component, but im probably missing 80% of the features from the official header because i cant get that work and some people suck at documentation
  • 1
    @dakkarant

    If you’re using Redux, store your history in a Stack (use unshift to add and shift to remove), updating your state every time the router has a navigation end event, listening the the “navigate back” hardware button as well
Add Comment