{"version":"1.0","type":"rich","title":"Gist f0df960c177dfb57c4f7ed5e4557704c","description":"This example shows a custom navigation reducer for a React Native application, managing the initial route state and handling navigation actions through the `ApplicationNavigator.router`. The code defines an `initialState` object with an index and a routes array containing a single screen, and exports a `navigationReducer` function that uses `getStateForAction` to compute the next state. It relies on React Navigation’s router API to process actions, falling back to the current state when no transition occurs. The visible data source is the hardcoded route configuration with a placeholder screen name.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-f0df960c177dfb57c4f7ed5e4557704c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}