Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodneylab/sveltekit-instagram-infinite-scroll
SvelteKit infinite scroll: see how you can use Svelte stores and a reactive function to implement an infinite scrolling Instagram feed.
https://github.com/rodneylab/sveltekit-instagram-infinite-scroll
infinite-scroll instagram instagram-api svelte sveltekit
Last synced: 3 months ago
JSON representation
SvelteKit infinite scroll: see how you can use Svelte stores and a reactive function to implement an infinite scrolling Instagram feed.
- Host: GitHub
- URL: https://github.com/rodneylab/sveltekit-instagram-infinite-scroll
- Owner: rodneylab
- License: bsd-3-clause
- Created: 2021-10-18T18:30:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-09T05:30:44.000Z (12 months ago)
- Last Synced: 2024-05-08T23:06:17.994Z (9 months ago)
- Topics: infinite-scroll, instagram, instagram-api, svelte, sveltekit
- Language: Svelte
- Homepage:
- Size: 450 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
SvelteKit Instagram Infinite Scroll# sveltekit-instagram-infinite-scroll
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/rodneylab/sveltekit-instagram-infinite-scroll)
SvelteKit demo code for implementing an infinite scrolling feed in SvelteKit. The code accompanies the post on SvelteKit infinite scroll. If you have any questions, please drop a comment at the bottom of that page.
## Building and previewing the site
If you're seeing this, you've probably already done this step. Congrats!
```bash
git clone https://github.com/rodneylab/sveltekit-infinite-scroll.git
cd sveltekit-infinite-scroll
pnpm install # or npm install
pnpm run dev
```## Building
```bash
pnpm run build
```> You can preview the built app with `pnpm run preview`, regardless of whether you installed an adapter. This should _not_ be used to serve your app in production.
Feel free to jump into the [Rodney Lab matrix chat room](https://matrix.to/#/%23rodney:matrix.org).