Pinned
I couldnβt stop thinking about this react escape hatch, this pattern is so simple yet incredibly effective in real-world react applications. so, i decided to create a few examples of how this pattern could be used.
Replying to @mhdcode and @TkDodo
Apparently people are bookmarking this so I thought of sharing the suggested correct way of doing it.
link to codesandbox: codesandbox.io/p/sandbox/cnhsβ¦


