I've created a library called autotune that can serve as a backend for react-ab-test. Furthermore, it learns the best variants based on customizable completion events, recommending better variants over time.
Maybe it would be useful to integrate autotune with react-ab-test and extend react-ab-test to allow autotune to influence variants.