So far my experience developing a client's website with Prismic has mostly been pain-free, but I've found one area which appears to be lacking documentation, and confusing because there was previously a different way of doing this (using 'group' fields). I would really appreciate clarity on this as there is no clear answer.
I created a Carousel component which has an image and a subtitle field both in the repeatable zone, so I could add as many images / subtitles as I wanted.
Now I want to create a more complex component that has 3 tabs and depending on the tab which is selected it will load a different carousel containing different images / subtitles.
It appears the old way to do this was to add a group field (which contains image / subtitle fields in itself), but since then Prismic has changed their API and it's unclear how to achieve this.
Please enlighten me. Thanks.