MarshallOfSound / MarshallOfSound/react-electron-web-view
webview state persistence thru routing
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 64
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
I'm using this in an SPA w/ `react-router`. when I change routes & return to the route with the `webview`, it starts from scratch & reloads the webview page. the page in my webview guest has a lengthy-ish load time, so the UX gets pretty ugly.
This isn't unexpected behavior necessary, but I'm curious if there's a straightforward way to persist the webview content across component mount/unmounting?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing how the React wrapper handles the webview when components mount and unmount, with the issue's react-router routing scenario in mind. Investigate Electron WebView lifecycle behavior; done means returning to a route preserves the existing webview content instead of reloading it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript, react
- Domain
- desktop, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100