Render Phase

πŸ‘¨β€πŸ’Ό Great! It's not quite working yet, now if we add console.log({ count, enabled }) to the component, we'll get { count: 0, enabled: true } like you'd expect, but when you click the counter button we get { count: 1, enabled: 1 } πŸ˜…. And if you click the disable button you get { count: false, enabled: false }. What the heck is going on!? Let's find out.

Access Denied

You must login or register for the workshop to view and run the tests.

Check out this video to see how the test tab works.