DEV Community


Discussion on: React's Odd Obsession With Declarative Syntax

andersclark profile image
Anders Clark

Great post!
My team just refactored most of our frontend to split up business logic, Network calls, etc from the render methods. To me it looks great now and the app is actually faster as well.
One thing though: Have you tried memoization? Does it help with DOM "garbage collection"?

bytebodger profile image
Adam Nathaniel Davis Author

I have to admit that I haven't done too much with memoization - mostly because I fight pretty hard to keep my temporal-based logic in imperative code. But it's a great tool and it certainly addresses some of my concerns about over-use of declarative syntax.