How to use the redux/actions/navigation.doNavigate function in redux

To help you get started, we’ve selected a few redux examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lbryio / lbry-desktop / src / renderer / modal / modalSearch / index.js View on Github external
  navigate: (path, params) => dispatch(doNavigate(path, params)),
});
github lbryio / lbry-desktop / src / renderer / page / fileListPublished / index.js View on Github external
  navigate: path => dispatch(doNavigate(path)),
  checkPendingPublishes: () => dispatch(doCheckPendingPublishes()),
github lbryio / lbry-desktop / ui / js / main.js View on Github external
ipcRenderer.on("open-menu", (event, uri) => {
  if (uri && uri.startsWith("/help")) {
    app.store.dispatch(doNavigate("/help"));
  }
});
github lbryio / lbry-desktop / src / ui / component / nsfwOverlay / index.js View on Github external
  navigateSettings: () => dispatch(doNavigate('/settings')),
});
github lbryio / lbry-desktop / ui / js / main.js View on Github external
ipcRenderer.on("open-uri-requested", (event, uri) => {
  if (uri && uri.startsWith("lbry://")) {
    app.store.dispatch(doNavigate("/show", { uri }));
  }
});
github lbryio / lbry-desktop / src / renderer / component / wunderbar / index.js View on Github external
  onSubmit: (uri, extraParams) => dispatch(doNavigate('/show', { uri, ...extraParams })),
  updateSearchQuery: query => dispatch(doUpdateSearchQuery(query)),
github lbryio / lbry-desktop / src / renderer / component / wunderbar / index.js View on Github external
onSearch: (query, size) => {
    dispatch(doSearch(query, size));
    dispatch(doNavigate(`/search`, { query }));
  },
  onSubmit: (uri, extraParams) => dispatch(doNavigate('/show', { uri, ...extraParams })),
github lbryio / lbry-desktop / src / renderer / page / search / index.js View on Github external
  navigate: path => dispatch(doNavigate(path)),
  updateSearchQuery: query => dispatch(doUpdateSearchQuery(query)),
github lbryio / lbry-desktop / src / renderer / page / file / index.js View on Github external
  navigate: (path, params) => dispatch(doNavigate(path, params)),
  fetchFileInfo: uri => dispatch(doFetchFileInfo(uri)),