Update number of posts when attribute changed

when I update the attribute, the number of posts rendered in the block don’t change Yes, and that’s because you did not include the numberPosts attribute in the second parameter (which is an array of dependencies) for useSelect(), so the (memoized) value remains unchanged, even when the block’s state is changed, or that you selected … Read more