Utilise render props to separate logic from presentation in React

added by JavaScript Kicks
6/11/2018 7:17:00 AM

359 Views

Separating logic from your presentation has always been a best practise. It enforces the single responsibility principle (SRP) and makes the code easier to test. React however gets in trouble for letting developers mush the two concerns together with ease.


0 comments