Sorry, this video is for subscribers only.

Click here to subscribe!

Preparing for Dependency Injection

Our spike proves that our UI can send pointer events to the server. Now it’s time for the real work: figuring out how to get our UI code to talk to our network code in a clean, test-driven way. We look at the problem and decide that we’ll need to inject our network connection. To do that, we need to refactor it from a module to a class.

comments powered by Disqus