KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
pave
★ 17
Open GitHub ↗
Paving the way to better state management.
Download README (.md)
Explore Similar Repositories
darling-security
:
Apple's Security framework
atom-genesis-syntax
:
Custom syntax theme for Atom text editor (retired)
Visma.Net
:
This is an open source API client for Visma.net Integrations
app-transport-security-talk-jan-2016
:
“App Transport Security: What, Why, How?”
Meteor-Boilerplate-Webpack-Mantra-Typescript
:
Meteor boilerplate for mantra applications, supporting webpack, mantra and typescript
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
pave
?
Download (.md)
# Pave Paving the way to better state management. ## Why? Pave is a data layer inspired by [Relay], [GraphQL], [Falcor] and [Om (next)]. Pave attempts to take the best pieces of each (subjectively) and expose a simple API that makes managing app state much easier. ## Goals - **Performance**<br> The core of any data layer will have many hot paths and should run efficiently. - **Flexible Schema**<br> There is no requirement that your data is strictly typed, but you can add constraints on inputs and outputs as you see fit. - **POJO**<br> All data is represented as JSON-friendly Plain Ol' JavaScript Objects so there is no need to worry about how to serialize `X` and how to deserialize `Y`. There are no classes in Pave. - **Multiple Remotes**<br> Create a client side schema to use Pave with an existing REST API, implement a Pave schema on the server or mix and match. Allowing multiple remotes both on the client and server makes integrating Pave into an existing project manageable. - **Immutable**<br> The cache accepts updates without mutating previous states. This makes history tracking trivial and prohibits unexpected mutations. - **Small**<br> pave<br> [](https://packagephobia.com/result?p=pave) graphql<br> [](https://packagephobia.com/result?p=graphql) falcor<br> [](https://packagephobia.com/result?p=falcor) react-relay<br> [](https://packagephobia.com/result?p=react-relay) @apollo/client<br> [](https://packagephobia.com/result?p=@apollo/client) ## Install ```bash npm install pave ``` [Falcor]: https://github.com/netflix/falcor [GraphQL]: https://github.com/facebook/graphql [Om (next)]: https://github.com/omcljs/om [Relay]: https://github.com/facebook/relay