Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What happens when its scrolled back #50

Open
kamarajuPrathi opened this issue Feb 3, 2019 · 4 comments
Open

What happens when its scrolled back #50

kamarajuPrathi opened this issue Feb 3, 2019 · 4 comments

Comments

@kamarajuPrathi
Copy link

I am new to this library , i like the way you mentioned . Quick question i scrolled down like 10 pages (100 records appox) so when i scroll up , will you hold that data in state ? Or will we call api when we scroll up . My case i will have more than 10000+ records

@cowboyd
Copy link
Contributor

cowboyd commented Feb 3, 2019

Hello!

It will invoke your callback when you scroll up if the records have not yet been loaded. If they have been loaded (and have not been unloaded by your unload hook) then it will not be called.

@kamarajuPrathi
Copy link
Author

Do we have an example with react web application

@cowboyd
Copy link
Contributor

cowboyd commented Apr 12, 2019

@kamarajuPrathi
Copy link
Author

kamarajuPrathi commented Apr 15, 2019

@cowboyd Thank you , can i make it run locally , i see this issue when i am trying to run locally

> @folio/[email protected] start 
> stripes serve


async function readStripesConfigStdin() {
      ^^^^^^^^
SyntaxError: Unexpected token function
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at lazy (/Users/kprat1/Downloads/ui-eholdings-e98238ab0eaed917238d59919fc9459229bed178/node_modules/import-lazy/index.js:2:51)
    at Object.get (/Users/kprat1/Downloads/ui-eholdings-e98238ab0eaed917238d59919fc9459229bed178/node_modules/import-lazy/index.js:10:11) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants