You can feed both -- make sure you get some water crystals - I feed mine both the dubia food and water crystals plus some carrots and squash and apples
Using both would probably provide the most balanced diet. If you're offering fresh vegetable scraps (squash in particular) they can get a lot of their hydration from that.