Sorry for the delay, a beta for 1.18 is out!
Seamless Loading Screen is a fabric mod that takes a screenshot of the game when you leave a world or server, and displays it when you rejoin it.
A video demonstration:
I have no plans to make a forge version. However, the license is MIT, so if anyone wants to port the mod themselves, they're free too.