React-Foldable is a set of components and React hooks that make it easier to work with foldable displays, such as the Surface Duo.
This is currently a proof of concept project which aims to explore how we can more effectively build programmatically responsive UIs for foldable displays.
Check out the react-foldable
directory for the package and the demo site to see it in action.