Shelf-stable gnocchi is better as it tends to be sturdier. Fresh pillowy gnocchi can be used, however, there is a chance of it falling apart if it is very tender.