Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erictaylor/yarr
A React router library enabling the render-as-you-fetch concurrent UI pattern.
https://github.com/erictaylor/yarr
concurrent-mode react react-router render-as-you-fetch router suspense yarr
Last synced: 5 days ago
JSON representation
A React router library enabling the render-as-you-fetch concurrent UI pattern.
- Host: GitHub
- URL: https://github.com/erictaylor/yarr
- Owner: erictaylor
- License: mit
- Created: 2021-06-05T16:45:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-04T05:31:30.000Z (over 1 year ago)
- Last Synced: 2024-12-08T10:37:04.087Z (14 days ago)
- Topics: concurrent-mode, react, react-router, render-as-you-fetch, router, suspense, yarr
- Language: TypeScript
- Homepage:
- Size: 4.27 MB
- Stars: 141
- Watchers: 12
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yarr
A React router library enabling the render-as-you-fetch concurrent UI pattern.
- [Overview](#overview)
- [Getting Started](#getting-started)
- [Usage Examples](#usage-examples)
- [API reference](#api-reference)
- [License](#license)## Overview
**Yarr** is _yet another React router_ library, but with a focus on enabling the [render-as-you-fetch concurrent UI pattern](https://reactjs.org/docs/concurrent-mode-suspense.html) by offering both component **code preloading** and **data preloading**. This behavior is enabled even without opt-in to [React's experimental Concurrent Mode](https://it.reactjs.org/docs/concurrent-mode-intro.html).
## Getting Started
- [Step-by-step guide](/docs/guides/1-step-by-step-guide.md)
## Usage Examples
- [Parameterized Routing example](/docs/guides/2-parameterized-routing.md)
- [Preloading data with Relay example](/docs/guides/3-preloading-data-with-relay.md)
- [Redirect Rules](/docs/guides/4-adding-redirect-rules-to-routes.md)## Advanced
- [Performance and UX with Yarr](/docs/advanced/performance-and-ux.md)
## API Reference
- [Components](/docs/api-reference/components.md)
- [Hooks](/docs/api-reference/hooks.md)
- [Utils](/docs/api-reference/utils.md)## Acknowledgements
**Yarr** was originally developed by [Eric Taylor](https://github.com/erictaylor) at [Contra](https://www.contra.com) to power Contra's [Relay](https://relay.dev) (_formally Relay Modern_) and React Suspense tech stack. It's since been open-sourced to give back to the community and promote Relay/Suspense adoption.
## License
[MIT](/LICENSE.md) © [Eric Taylor](https://github.com/erictaylor)