jhen0409 / jhen0409/react-native-debugger

Can't dispatch actions since upgrading to Expo SDK33.

Open
#366 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.4k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

I'm no longer able to dispatch actions with the redux dev tools since upgrading my project to Expo SDK 33. It worked just fine on Expo SDK 32. When I click the "Dispatch" button, nothing happens - the action I've typed in isn't reset, nothing appears in the action list, nothing happens in the app, and no error messages are shown anywhere.

rn-debugger appears to work fine apart from that, so I'm rather perplexed.

Here is how my store is set up:

```es6
import {
createReactNavigationReduxMiddleware,
} from 'react-navigation-redux-helpers'
import { applyMiddleware, compose, createStore } from 'redux'
import { persistReducer } from 'redux-persist'
import createSecureStorage from 'redux-persist-expo-securestore'
import thunk from 'redux-thunk'

const composeEnhancers = (
typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__
) || compose
const persistConfig = { key: 'root', storage: createSecureStorage() }
const rootReducer = <...>

const store = createStore(
persistReducer(persistConfig, rootReducer),
{},
composeEnhancers(applyMiddleware(
thunk.withExtraArgument(<...>),
createReactNavigationReduxMiddleware(navigationSelector),
)),
)
```

React Native Debugger app version: 0.9.10
React Native version: Expo SDK 33 ([0.59.8](https://blog.expo.io/expo-sdk-v33-0-0-is-now-available-52d1c99dfe4c) supposedly)
Platform: iOS
Is real device of platform: Yes
Operating System: Linux Mint 18

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.