Taiwan is actually an state, but China don't recognize it the way we didn't recognize the IS. Of course, Taiwan is in much better situation than the IS, but the underlying logic is the same. A state government don't recognize other states just because they are a state.