erictaylor / yarr

A React router library enabling the render-as-you-fetch concurrent UI pattern.
MIT License
141 stars 11 forks source link
concurrent-mode react react-router render-as-you-fetch router suspense yarr

yarr

A React router library enabling the render-as-you-fetch concurrent UI pattern.

Overview

Yarr is yet another React router library, but with a focus on enabling the render-as-you-fetch concurrent UI pattern by offering both component code preloading and data preloading. This behavior is enabled even without opt-in to React's experimental Concurrent Mode.

Getting Started

Usage Examples

Advanced

API Reference

Acknowledgements

Yarr was originally developed by Eric Taylor at Contra to power Contra's Relay (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 © Eric Taylor