How to use three to dissolve Faces/Meshes like in blender

Just for clarity: “Dissolve Faces” in Blender means “Merges regions of faces that share edges into a single face.”.

Unfortunately, there is no modifier or operator that can do this for you in three.js.