-
Notifications
You must be signed in to change notification settings - Fork 23
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: fpapado/react-lazy-images
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: fpapado/react-lazy-images
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 14 files changed
- 5 contributors
Commits on Jul 24, 2018
-
fpapado committed
Jul 24, 2018 Configuration menu - View commit details
-
Copy full SHA for e98a143 - Browse repository at this point
Copy the full SHA e98a143View commit details
Commits on Aug 5, 2018
-
Feature: Debounced/delayed Loading (#11)
* Add utils and delayed loading test in stories * Intermediate solution Not sure where the reducer/update function is headed, but we'll find out, I suppose. * Finish refactoring * Make buffering work It works, but now the intersection logic is not the same. Scrolling until inView is true, and then up, triggers the promise cancelation. This is undesirable. We want the image to keep loading as long as it stays on the screen. Oddly, scrolling past the image, and it being in view, still lets it load without canceling (as intendeed). Another difference is that loading only commences once the image is fully in view, rather than on the margin. * Document things a bit better * There was no bug; the placeholder had a 0 height! * A few more docs * Name things, expose as props Added: - debugActions: logs actions in dev, warns and logs in prod - debounceDurationMs: whether, and how much to debounce loading, 0 by default, so no change to v1. Added codepath to make it so. - Provisional changes.md document with API compatibility - Various TODOs and cleanup tasks * Fix passing of debounceDurationMs to cb * Use debugActions in the story, destructure it Also add a note to hopefully remember to destructure next time :) * Pin microbundle and ts versions * Clean dir before build * TS BUG: need declaration: false to build correctly If we set declaration: true, then typescript (specifically rpt2, Rollup's TS plugin) fails with a cryptic path error. This is filed under microsoft/TypeScript#25047. Curiously, this does not happen on master, and I have vaguely traced it back to unionize and the fact that it does fancy type exports, which we partially re-export here. We would have to manually emit a declaration file, which is not hard tbh, but a bit annoying. Even funnier, webpack has no issue building in storybook, but that might be because it does not emit declarations anyway. Steps: - Get declaration file from master, add to repository, and copy to dist/ upon build; - See if massaging our exports fixes it; - Wait for TS :/ * 1.1.0-rc.1 * Version bump * Make update static, use Commands The Elm/JS/Redux/React-Component fusion is complete. The reducer is now a pure function, because it only describes side-effects, and does not execute them. The logic is really nice to read there. * Naming things * Version bump * Use TS3.0 * Copy definitions separately Because of the "path undefined" bug, we have to run `tsc` separately, to get the definitions and copy them over. * Do not expose Buffering as a separate state Expose it under 'Loading' for backwards compatibility * Improve debounceDurationMs docs * Add first point to README * Cancel Promises, clear cache on unmount * Add docs for debounceDurationMs
Configuration menu - View commit details
-
Copy full SHA for a68ffac - Browse repository at this point
Copy the full SHA a68ffacView commit details -
fpapado committed
Aug 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 65a4462 - Browse repository at this point
Copy the full SHA 65a4462View commit details
Commits on Sep 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a1c2235 - Browse repository at this point
Copy the full SHA a1c2235View commit details
Commits on Apr 23, 2019
-
Expose margin and threshold in Readme (#21)
* expose margin and threshold * update readme * remove unnecessarily exposed props * remove unnecessary curly braces
Configuration menu - View commit details
-
Copy full SHA for 2ec1f3e - Browse repository at this point
Copy the full SHA 2ec1f3eView commit details
Commits on Oct 26, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 946e3d5 - Browse repository at this point
Copy the full SHA 946e3d5View commit details
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.