Hard

You're implementing a simple virtual DOM system. What's the correct implementation for the patch function that updates the real DOM?

Choose an option below