An experiment in building hooks for use in react-ab-test.

TODO:

  • how does SSR work, Experiment component supported 'defaultVariant' - does a hook need the same idea (as optional param?)