-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Description
This list is for myself to see what I still have to implement for version 3.
- add tests 🐛
- integrate deployment pipeline (CI)
- improve readme
- simplify adding resources (actions)
- make baseUrl changeable after creating store (just set baseUrl of axios instance)
- make default error state configurable
- add option to don't change state if error happens
- make
getStore({ createStateFn: true })the default - add logo
- implement caching (see Caching requested data #79)
- implement the possibility to cancel requests (see Caching requested data #79)
- implement the possibilty to access params in onSuccess, onError fn (see Caching requested data #79)
- custom pre-flight validation methods (see Improvement ideas #54 (comment))
- integration with a JSON Schema validator e.g. AJV
- make requests cancellable (see Improvement ideas #54 (comment))
- make endpoints mappable via object/config file (see Improvement ideas #54 (comment))
- allow easy customization of store object, that you don't have to use Object.assign() anymore after creating the store object
- check usage of namespaces
- add alternative way of adding actions (see add alternative way of adding actions #59)
- add option to disable error throwing (is this really helpful?)
- add global
onErrorinterceptor that can be overridden at resource entity level (see Improvement ideas #54 (comment)) - add
state.loaded.<propertyName>to know if state was loaded at least once - add
Axios.requestConfig.transformRequestmethod to the resource action options (see [QUESTION] - Pre API Call Transformation #77) - add explicit queryParams (see Request/Suggestion - path parameters vs query parameters #44)
- use option parameter instead of multiple parameters (see provide action payload in onSuccess #84 (comment))
- support Fetch API (see Support for Fetch API #93)
- make requests cancel each other by demand (see Improvement ideas #54 (comment))
- make
errorandpendingproperties optional (see How to get rid of error&pending in setting a custom state? #95) - add json:api support
- add information how to handle errors in documentation (see Handling rejected promises #105)
- make it possible to avoid rejection of promise when interceptor in axios or onError is set (see Handling rejected promises #105)
Reactions are currently unavailable