DEV Community

Discussion on: OOP vs FP with Javascript

Collapse
 
zorlac profile image
zorlac

You can use OO and FP at different granularity. Use OO modeling to find the right places in your application to put boundaries. Use FP techniques within those boundaries

Collapse
 
jzombie profile image
jzombie • Edited

I like this explanation.

React has errror boundaries which work this way. Do you happen to know of any other exanples of OO boundaries?