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

Lazy loading/limit on react native

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None

      How frequently does the bug occur?

      All the time

      Description

      Hello!

      I read realmjs is lazy loaded so using Object.(... for example in a flatlist i causing it to be lazy loaded.
      But i had a few questions

      1. Is it actually laze loaded into flat list?
      2. When i use a function to get all tasks sorted by date and put it inside a react.useState, is it still lazy loaded?
      3. Is there a limit option in react native? I couldt find anything in dogs, because otherwise i would implement a onEndReached function to load on demand.

      Stacktrace & log output

      Unable to find source-code formatter for language: shell. 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
      N/A
      

      Can you reproduce the bug?

      Yes, always

      Reproduction Steps

      N/A

      Version

      Newest

      What SDK flavour are you using?

      Local Database only

      Are you using encryption?

      No, not using encryption

      Platform OS and version(s)

      N/A

      Build environment

      Which debugger for React Native: ..
      N/A

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: