Skip to content

Commit

Permalink
update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardlyhel committed Jan 10, 2025
1 parent fd06292 commit eac00ea
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 43 deletions.
11 changes: 6 additions & 5 deletions docs/shopify-dev/analytics-setup/js/app/root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ export const shouldRevalidate = ({
};

/**
* The link to the main stylesheet and the reset stylesheet is purposely not in this list.
* Instead, it is added in the Layout function.
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This is to avoid a development bug where after an edit/save, navigating to another
* link will cause page rendering error "failed to execute 'insertBefore' on 'Node'".
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* This is a workaround until this is fixed in the foundational library.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down
7 changes: 4 additions & 3 deletions docs/shopify-dev/analytics-setup/ts/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
};

/**
* The main and reset stylesheets are added in the Layout component
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* It's a temporary fix until the underlying library issue is resolved.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down
11 changes: 6 additions & 5 deletions examples/b2b/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
};

/**
* The link to the main stylesheet and the reset stylesheet is purposely not in this list.
* Instead, it is added in the Layout function.
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This is to avoid a development bug where after an edit/save, navigating to another
* link will cause page rendering error "failed to execute 'insertBefore' on 'Node'".
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* This is a workaround until this is fixed in the foundational library.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down
11 changes: 6 additions & 5 deletions examples/gtm/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
};

/**
* The link to the main stylesheet and the reset stylesheet is purposely not in this list.
* Instead, it is added in the Layout function.
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This is to avoid a development bug where after an edit/save, navigating to another
* link will cause page rendering error "failed to execute 'insertBefore' on 'Node'".
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* This is a workaround until this is fixed in the foundational library.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down
11 changes: 6 additions & 5 deletions examples/legacy-customer-account-flow/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
};

/**
* The link to the main stylesheet and the reset stylesheet is purposely not in this list.
* Instead, it is added in the Layout function.
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This is to avoid a development bug where after an edit/save, navigating to another
* link will cause page rendering error "failed to execute 'insertBefore' on 'Node'".
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* This is a workaround until this is fixed in the foundational library.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down
11 changes: 6 additions & 5 deletions examples/metaobjects/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
};

/**
* The link to the main stylesheet and the reset stylesheet is purposely not in this list.
* Instead, it is added in the Layout function.
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This is to avoid a development bug where after an edit/save, navigating to another
* link will cause page rendering error "failed to execute 'insertBefore' on 'Node'".
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* This is a workaround until this is fixed in the foundational library.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down
11 changes: 6 additions & 5 deletions examples/multipass/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
};

/**
* The link to the main stylesheet and the reset stylesheet is purposely not in this list.
* Instead, it is added in the Layout function.
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This is to avoid a development bug where after an edit/save, navigating to another
* link will cause page rendering error "failed to execute 'insertBefore' on 'Node'".
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* This is a workaround until this is fixed in the foundational library.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down
11 changes: 6 additions & 5 deletions examples/partytown/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
};

/**
* The link to the main stylesheet and the reset stylesheet is purposely not in this list.
* Instead, it is added in the Layout function.
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This is to avoid a development bug where after an edit/save, navigating to another
* link will cause page rendering error "failed to execute 'insertBefore' on 'Node'".
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* This is a workaround until this is fixed in the foundational library.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down
11 changes: 6 additions & 5 deletions templates/skeleton/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
};

/**
* The link to the main stylesheet and the reset stylesheet is purposely not in this list.
* Instead, it is added in the Layout function.
* The main and reset stylesheets are added in the Layout component
* to prevent a bug in development HMR updates.
*
* This is to avoid a development bug where after an edit/save, navigating to another
* link will cause page rendering error "failed to execute 'insertBefore' on 'Node'".
* This avoids the "failed to execute 'insertBefore' on 'Node'" error
* that occurs after editing and navigating to another page.
*
* This is a workaround until this is fixed in the foundational library.
* It's a temporary fix until the issue is resolved.
* https://github.com/remix-run/remix/issues/9242
*/
export function links() {
return [
Expand Down

0 comments on commit eac00ea

Please sign in to comment.