8000 Merge branch 'master' into dependabot/npm_and_yarn/examples/counter/s… · homebaseio/homebase-react@4c1fe4f · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c1fe4f

Browse files
Merge branch 'master' into dependabot/npm_and_yarn/examples/counter/ssri-6.0.2
2 parents 2afdf02 + b09b9fc commit 4c1fe4f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/0900|Recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The example below shows a recipe for keeping Homebase React in sync with Firebase. `client.addTransactListener(callback)` lets you listen to every local transaction and send those updates to Firebase. We also need a way to sync Firebase with Homebase React. In this example we create a namespace on Firebase for each user based on their firebase uid and listen to all changes in that namespace. client.` transactSilently(tx)` allows us save changes received from Firebase without triggering our transactListener function and sending those changes back to Firebase endlessly.
44

55
```js
6-
import { HomebaseProvider, useClient, useEntity, useTransact } from 'homebase-react';
6+
import { useClient, useEntity } from 'homebase-react';
77
import firebase from 'firebase/app';
88
import debounce from 'lodash/debounce';
99
import React from 'react';

examples/todo/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4797,7 +4797,7 @@ fb-watchman@^2.0.0:
47974797

47984798
figgy-pudding@^3.5.1:
47994799
version "3.5.2"
4800-
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz"
4800+
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e"
48014801
integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==
48024802

48034803
file-entry-cache@^5.0.1:
@@ -9979,9 +9979,9 @@ sshpk@^1.7.0:
99799979
tweetnacl "~0.14.0"
99809980

99819981
ssri@^6.0.1:
9982-
version "6.0.1"
9983-
resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz"
9984-
integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==
9982+
version "6.0.2"
9983+
resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.2.tgz#157939134f20464e7301ddba3e90ffa8f7728ac5"
9984+
integrity sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==
99859985
dependencies:
99869986
figgy-pudding "^3.5.1"
99879987

0 commit comments

Comments
 (0)
0