Is there a standardized way to get data inside my Dynamic Gutenberg Block?

After reading through a lot of documentation/discussion, I found that the “official” way of requesting data for a block is useSelect. In my case, the answer would be:

const posts = useSelect(select => {
    return select("core").getEntityRecords("postType", "post", {
        per_page: 3,
        sticky: true
    });
});

tech