Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2867

Add `useProgress` to `@realm/react`

      Problem

      With https://github.com/realm/realm-js/issues/6256 completed, flexible sync can now support progress notifications.

      To improve the experience on @realm/react, it'd be great to expose the functionality through a useProgress hook.

      Solution

      Unable to find source-code formatter for language: tsx. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      const MyComponent = () =>
      {
           const progress = useProgress();      
           return <div>{progress}/1.0 loaded</div>
      }
      

      Alternatives

      No response

      How important is this improvement for you?

      Would be a major improvement

      Feature would mainly be used with

      Atlas Device Sync

            Assignee:
            gagik.amaryan@mongodb.com Gagik Amaryan (Inactive)
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: