While you can prepare some components, such as the candied walnuts and the sauce, in advance, it is best to cook the shrimp and combine the dish just before serving. This ensures the shrimp remains crispy and the dish retains its optimal flavor and texture.