Skip to content

Commit

Permalink
mark SuspenseListContext as PURE (#2201)
Browse files Browse the repository at this point in the history
  • Loading branch information
titoBouzout authored Jul 1, 2024
1 parent 19013bf commit 1afe035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/solid/src/render/Suspense.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface SuspenseListState extends Array<SuspenseListRegisteredState> {

const suspenseListEquals = (a: SuspenseListRegisteredState, b: SuspenseListRegisteredState) =>
a.showContent === b.showContent && a.showFallback === b.showFallback;
const SuspenseListContext = createContext<SuspenseListContextType>();
const SuspenseListContext = /* #__PURE__ */ createContext<SuspenseListContextType>();

/**
* **[experimental]** Controls the order in which suspended content is rendered
Expand Down

0 comments on commit 1afe035

Please sign in to comment.