re: High level view and logic separation in React VIEW POST

re: Hello Sung, Yes, this is very close to what Dan Abramov told about. But not quite DI, as you'd need to introduce another layer, where you can expl...

Thanks for the explanation Tomek 🙏
I can see how this pattern can work to even extract the component to publish on NPM to be used separately altogether 😮

Yes, like I said earlier, you can easily create an extra layer that will inject the view rather than use it implicitly via internal import.

code of conduct - report abuse