lib/init.js
function initFlags(flags, dispatch) {
  var flagValues = { isLDReady: false };
  for (var flag in flags) {
    var camelCasedKey = (0, _lodash2.default)(flag);
    flagValues[camelCasedKey] = flags[flag];
  }
  dispatch((0, _actions.setFlags)(flagValues));
}
function initFlags(flags, dispatch) {
  var flagValues = { isLDReady: false };
  for (var flag in flags) {
    var camelCasedKey = (0, _lodash2.default)(flag);
    flagValues[camelCasedKey] = flags[flag];
  }
  dispatch((0, _actions.setFlags)(flagValues));
}
function initFlags ( flags , dispatch ) { var flagValues = { isLDReady : false } ; for ( var flag in flags ) { var camelCasedKey = ( 0 , _lodash2 . default ) ( flag ) ; flagValues [ camelCasedKey ] = flags [ flag ] ; } dispatch ( ( 0 , _actions . setFlags ) ( flagValues ) ) ; }
initialise flags with default values in ld redux store
initialise flags with default values in ld redux store