-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(client): Clean up React bindings (#1019)
- Removed unused and undocumented `useRandom` hook which was originally already removed in this PR #585 but was added back with another refactor - Removed dependency on the injected electric client in `useLiveQuery`
- Loading branch information
Showing
4 changed files
with
7 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"electric-sql": patch | ||
--- | ||
|
||
Remove unused React hook and clean up `useLiveQuery` hook |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
export { default as useConnectivityState } from './useConnectivityState' | ||
export { default as useLiveQuery } from './useLiveQuery' | ||
export { default as useRandom } from './useRandom' |
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
16 changes: 0 additions & 16 deletions
16
clients/typescript/src/frameworks/react/hooks/useRandom.ts
This file was deleted.
Oops, something went wrong.