Skip to content

Commit

Permalink
ran prettier npm script and added 2 code annotations for the new …
Browse files Browse the repository at this point in the history
…paragraph
  • Loading branch information
yairEO committed Nov 10, 2024
1 parent 144e82b commit fa99a98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/extensions/location.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ atomWithLocation(options): PrimitiveAtom

`atomWithLocation` creates a new atom that links to `window.location`.

Typically, you should only instantiate atomWithLocation once per application. This is because changes made to one instance might not be reflected in others.
As this atom is designed to synchronize with the window.location object, using multiple instances can lead to unpredictable behavior.
Typically, you should only instantiate `atomWithLocation` once per application. This is because changes made to one instance might not be reflected in others.
As this atom is designed to synchronize with the `window.location` object, using multiple instances can lead to unpredictable behavior.

### Parameters

Expand Down

0 comments on commit fa99a98

Please sign in to comment.