fabienjuif
Joined 8 years ago
Joined 8 years ago
Feel free to open issues if you have questions!
- Light (bundlesize)
- Supports browser and Node (SSR compatible)
- Supports cache (via third party library, or your own code)
I wrote this because I wanted a light client that supports cache and that can work on nextjs.
This client is customisable since you can give your cache implementation and your fetch implementation (the browser's fetch is the default implementation)
:)
- very little footprint
- easy to dev with it, my clients are very productive once I leave them with the base code
I will be honnored if you give it a try!
- is fast
- is immutable
- is modular
- encourages to decouple UI and state management
- encourages to not have side effect into your business logic
- has a light bundle size footprint (with http driver)
- works with redux-dev-tools
I wrote this library because it allows us to use graphql directives (server side) like middlewares.
-> gql declaration order is preserved
-> implementation is simplified
Feel free to open github issues if you know better solutions
> The lib was created to simplify our routes usages. This is done by matching an uniq code to a route (we never identify a route to its href).
This lib allows us, via bindings, to use path params and query params, and context informations on top of that. context informations are the data you are putting in route definitions, like "is this route public?"
So this lib aims to simplify the maintenance of your routes:
We use uniq route code to identify routes, meaning that if you change related href your code is not impacted We describe routes as nested components We allow to put context informations into routes definition context informations are copied from parent to children and can be overwritten, meaning that you can put a isPublic: false flag on a parent (and only on a parent), and all your children will have this isPublic: false set.
I am a french freelancer developper.
I love Javascript!