Removes the ability for the components to specify options.
The Issue was that any options set this way has side effects on other components subscribing to this path.
If this behavior is really needed, you can still access the flux in the @store callback.
Add the ability to set options on a whole store or on a specific path via HTTP.store#options.
Removes the refreshInterval option. This feature can be easily achieved by the user dirrectly with better flexibility.
Clean the public API. Now you can only interact with stores via query but not via path anymore.
Add rewritePath option taking a function to rewrite the path just before sending the fetch request.
Removes specific actions (HTTP/Memory), generic Actions are more flexible.
Modifications:
Fix HTTP/Store#observe to allow HTTP to work without SSR
Change bindings parameters handling
Pass flux instead of context to actions getBindings
Remove binding parameters and unify public Store method parameters
Summary:
flux
in the@store
callback.HTTP.store#options
.refreshInterval
option. This feature can be easily achieved by the user dirrectly with better flexibility.query
but not viapath
anymore.rewritePath
option taking a function to rewrite the path just before sending thefetch
request.Modifications: