No, render is global in this example. If you need to only render the component wrapping the useState, you have to track the caller (See https://github.com/facebook/react/blob/master/packages/react...)
... or you can use something like Statium's ViewModel, which is basically a hierarchically linked, locally scoped state container component: https://github.com/riptano/statium
RealWorld example: https://github.com/nohuhu/react-statium-realworld-example-ap...
Sorry... Just... Couldn't... :)