>in Concurrent Mode we can interrupt a render in the middle if user does an interaction
Can you interrupt an arbitrary user-written function that's called inside the rendering stack?
Can you interrupt an arbitrary user-written function that's called inside the rendering stack?
As a user of the framework, you don't need to care about this though. So your mental model can be that of an interruptable function.
[1]: https://overreacted.io/react-as-a-ui-runtime/#lazy-evaluatio...