Animal Facts Configuration API/React Question

Yes… There are three segments,

  • broadcaster
  • developer
  • global

As per the docs you linked to.

As per the github repo

Sets the broadcaster segment config.

But the developer segment config in part by the EBS, in part via calls in

and

The “front end” will change the broadcaster segment happily in this example, but the developer segment is changed by the EBS.

Which is performed via this API Endpoint:

TLDR: randomFactHandler() in the front end only changes the “animal” and loads the “facts” from the developer segment that the EBS uploaded.

Hope this helps.