Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardlyhel committed Jan 9, 2025
1 parent 0b6073a commit e1cbfd4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ export const shouldRevalidate: ShouldRevalidateFunction = ({
return false;
};

/**
* The link to the main stylesheet is purposely not in this list. Instead, it is added
* in the Layout function.
*
* 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 is a workaround until this is fixed in the foundational library.
*/
export const links: LinksFunction = () => {
return [
{
Expand Down

0 comments on commit e1cbfd4

Please sign in to comment.