Where is counterReducer from? #2
Answered
by
santiagourregobotero
ddriverdev999
asked this question in
Q&A
-
|
In official demo, I have noticed below is |
Beta Was this translation helpful? Give feedback.
Answered by
santiagourregobotero
Jan 16, 2024
Replies: 1 comment
-
|
It's an ES module "default import/export". When you do In this case, I called it |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ddriverdev999
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's an ES module "default import/export".
When you do
export default whatever, another file can doimport AnyNameYouWantHere from "./some/other/file".In this case, I called it
counterReducer, but I could have called itimport fredorimport aldkfjalsdkflkasjdf. It's just creating a variable name in the importing file.