-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remix PWA v5 Release Candidate #269
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moving new workflow to main branch stream
- added support for SPA mode\n- added single fetch support\n- added support for Remix client route modules BREAKING CHANGES
Open
Open
- added support for SPA modec- Disabled worker runtime APIs when single fetch is enabled BREAKING CHANGE
…anually registered
BREAKING CHANGES
BREAKING CHANGES
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR aims to introduce the first release candidate (rc) of Remix PWA v5 - the next major version.
Includes a lot of breaking changes and packages.
@remix-pwa/dev
workerLoader
andworkerAction
worksprocess.env
object)workerLoader
/Action
behaviour has been modified extensively in this release and that includes being disabled in single fetch's casedev
package. MeaningWebManifest
types are no longer exported from this packageregisterSW
, this would be replaced byinjectSWRegister
, a boolean property, that would be shipped alongside a component to handle registration@remix-pwa/worker-runtime
_route
search parameter@remix-pwa/manifest
ManifestLink
component (removed fromsw
package)WebAppManifest
type - no need to import fromdev
anymore!schema.json
for JSON-format web manifests - get typings even within your json manifests!@remix-pwa/sw
PWAScripts
component: allows you to manually register your service worker with custom parameters including CSRF supportManifestLink
from the packageinstallPWAGlobals
that takes care of every setup required by Remix PWA within the clientuseSWEffect
hook - its main functionality has been ported toinstallPWAGlobals
SkipWaitHandler
, as well assendSkipWaitingMessage
utilityloadServiceWorker
. Service worker registration now occurs via the vite plugin (automatically) orPWAScripts
component (manually)