You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.
I am using your code for isomorphic application using redux, react. So i am firing action and may i know how can i get these query string values to redux action file?
export function getProductData(params) {
debug('Action Requested:' + params);
return {
type: GET_PRODUCT_DATA,
promise: request.get(API_URL + params.productId)
}
};
Because in action i am firing the API call and i need that ID from querystring value.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a URL as below with various query string values.
http://localhost:3000/product/?id=123&name=test
I am using your code for isomorphic application using redux, react. So i am firing action and may i know how can i get these query string values to redux action file?
export function getProductData(params) {
debug('Action Requested:' + params);
return {
type: GET_PRODUCT_DATA,
promise: request.get(API_URL + params.productId)
}
};
Because in action i am firing the API call and i need that ID from querystring value.
The text was updated successfully, but these errors were encountered: