-
Couldn't load subscription status.
- Fork 49.7k
Description
To my fellow React developers,
I have been learning about Functional Programming recently. According to my knowledge so far, a purely functional program is one where every action / behavior is a map from an input type (parameters) to an output type (return) without mutating any state or accessing global objects or methods.
Since React promotes a functional approach to front-end development, I was curious about how much of React was functional itself. I know its impossible (read, idealistic) to create a purely functional program where user input is so prevalent but if we are able to at least list every possible behavior of React then it would be much simpler for developers using React to reason about their programs.
I find this endeavor to be worth my time but I am completely over my head regarding how to start listing every expected behavior of React. It would be very helpful if someone could point me in the right direction or tell me why this may be a doomed endeavor and save me a lot of time (although I would not be looking forward to this conclusion).
Thanking You
@kinjal-basu