Skip to content

Error: [Vuex Electron] Not connected to renderer. #92

Answered by BetaHuhn
JonasDes asked this question in Q&A
Discussion options

You must be logged in to vote

Fixed in v1.4.13.

PersistedState.getStoreFromRenderer() now waits for the renderer to connect and the returns a promise containing the store:

const store = await PersistedState.getStoreFromRenderer()

const state = await store.getState()
console.log(state)

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
16 replies
@BetaHuhn
Comment options

@BetaHuhn
Comment options

@JonasDes
Comment options

@BetaHuhn
Comment options

@BetaHuhn
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by BetaHuhn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants