In the meantime, finely chop the onions and dice the bacon.
Let the oil heat up in a wok or large saucepan. Add the onion and bacon and sauté until the onions are translucent. Add the gnocchi and sauerkraut. Then stir in the cheese.
When the cheese pulls nice strings, it is ready to serve.