GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Trying to us Remote Config gives a stack overflow error. · Issue #317 · fullstackreact/react-native-firestack

Trying to us Remote Config gives a stack overflow error. #317

New issue
Copy link
New issue
Copy link
Open
Open
Trying to us Remote Config gives a stack overflow error.#317
Copy link

Description

@ryanwalker
ryanwalker
opened on Mar 22, 2017
Issue body actions

I cannot find any examples of how to use remote config. I looked at the code and attempted the following:

import Firestack from 'react-native-firestack'
this.firestack = new Firestack();
console.log(firestack.remoteConfig.setDev());

I get an infinite loop that blows the stack. Looking in the code I see why. In firestack.js

  get remoteConfig() {
    if (!this.remoteConfig) {
      this.remoteConfig = new RemoteConfig(this._remoteConfig);
    }
    return this.remoteConfig;
  }

This will continue calling itself over and over again. Does remote config even work? What am I missing?

Reacted by Guilherme da Silva Mello

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.