Skip to content

Multiple/Shared clients.

Pre-release
Pre-release
Compare
Choose a tag to compare
@samuelcastro samuelcastro released this 11 Sep 21:10
· 31 commits to master since this release

Advanced: Instantiate multiple/shared SDK clients

We also support multiple clients instantiation as described in the Split.io documentation.

All you need to do is wrap your Split component with SplitClient passing key and optionally trafficType like so:

<SplitClient key="myKey" trafficType="...">
    <Split name="...">
</SplitClient>