Cofounded Host Collective (DiscountASP.net). Cofounded Player Axis (Social Gaming). Computer Scientist and Technology Evangelist with 20+ years of experience with JavaScript!
Redux is FP and the majority of the React community has no problems with it.
When you are performance testing your code, the slowdown will not be cause by a map vs a for loop. The slowness will come from an Ajax call, reading a file, access a database and not from the code itself.
I would say put human readability and code-reusability above fast code. Optimize after you need to optimize. Do not prematurely optimize.
Do not let this myth hold you back.
I would recommend watching this video that tackles this subject:
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In certain use cases FP is also faster.
Redux is FP and the majority of the React community has no problems with it.
When you are performance testing your code, the slowdown will not be cause by a
map
vs afor
loop. The slowness will come from an Ajax call, reading a file, access a database and not from the code itself.I would say put human readability and code-reusability above fast code. Optimize after you need to optimize. Do not prematurely optimize.
Do not let this myth hold you back.
I would recommend watching this video that tackles this subject: