-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Store #1
API Store #1
Conversation
defaultCount = clockCount || 10; | ||
} | ||
|
||
export { getAPIFn, defaultCount }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creo que sería mejor evitar los exports desperdigados en el archivo y definir al final
module.exports = { getAPIFn, defaultCount, initializeAPIStore, apiSaga }; // Esta última es necesario exportarla???
import { getAPI } from "../helpers/apiRegistry"; | ||
|
||
const clockCount = 15; | ||
initializeAPIStore({ getAPI, clockCount }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No entiendo porqué esta llamada al initializeAPIStore está acá...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no esta dentro del paquete, es de la mini app que esta de ejemplo para probar el store
No description provided.