DEV Community

Discussion on: Pure Components, Interfaces and Logic Hooks.

Collapse
 
charbelrami profile image
Charbel Rami • Edited

Thanks! I chose the name 'Interface' because it's the layer that connects the other two components and it represents the user interface. I'd appreciate any suggestions for a better name. I used Redux to show the responsibility of the Logic Hook, but it could be replaced by useReducer or anything else.

Collapse
 
jonocodes profile image
Jonathan Stiansen

Maybe facade? That's a good pattern name that does similar things here.