|
|
|
|
|
by mychael
2924 days ago
|
|
A big contributor to the difficult learning curve in Redux is the very poor naming of things. It's off the charts unintuitive, especially if you're an experienced programmer. I imagine their thought process went like this: Types:
People like strongly typed languages, maybe if we call our events "types", they will like Redux more? Reducers:
Switch statements are so boring and uncool. Lets call this "reducer" instead of "events switch statement". Store:
Lets call the state tree "store". The term "State tree" is too explicit and a core principle of Redux is misdirection. Actions:
Mere mortals will associate the term "action" with functions and procedures, but Redux is not for mortals. "Action" will be our term for payload. |
|
https://facebook.github.io/flux/docs/in-depth-overview.html#...