Giter Club home page Giter Club logo

javascript-commons's Introduction

Split Javascript SDK common components

npm version Build Status

Overview

This library is designed to work with Split, the platform for controlled rollouts, which serves features to your users via feature flags to manage your complete customer experience.

Twitter Follow

Compatibility

This library is compatible with JavaScript ES5 and above.

Contributing

Please see Contributors Guide to find all you need to submit a Pull Request (PR).

License

Licensed under the Apache License, Version 2.0. See: Apache License.

About Split

Split is the leading Feature Delivery Platform for engineering teams that want to confidently deploy features as fast as they can develop them. Split’s fine-grained management, real-time monitoring, and data-driven experimentation ensure that new features will improve the customer experience without breaking or degrading performance. Companies like Twilio, Salesforce, GoDaddy and WePay trust Split to power their feature delivery.

To learn more about Split, contact [email protected], or get started with feature flags for free at https://www.split.io/signup.

Split has built and maintains SDKs for:

For a comprehensive list of open source projects visit our Github page.

Learn more about Split:

Visit split.io/product for an overview of Split, or visit our documentation at help.split.io for more detailed information.

javascript-commons's People

Contributors

dependabot[bot] avatar emilianofant-split avatar emilianosanchez avatar emmaz90 avatar github-actions[bot] avatar markdoliner-doma avatar mmelograno avatar nicozelaya avatar nthorn552 avatar sanzmauro avatar splitadricejas avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

javascript-commons's Issues

Suggestion: Add defaultTreatment to SplitView

We have a developer tool that helps us view and override Split in our product, both for testing and for internal use and demo purposes. I noticed defaultTreatment is something that is sent down to the javascript-client, but it not exposed anywhere externally. It would be helpful if we could show this defaultTreatment value, so that Split is the one "source of truth" and we do not need to do something such as create our own default values in our devtool.

I have a fork of this where I tested it out and would be happy to open a PR, but I also wanted to open a thread in case the fact that I would find this property helpful is indicative of us using this tool or understanding this property's purpose incorrectly.

Proposed changes:

  • Add defaultTreatment to the SplitView type
  • Update sdkManager/index.ts's internal objectToView() to include returning defaultTreatment property

Redis Cluster Mode?

Do y'all have any plans to support Redis in cluster mode?

The fact that it does or doesn't support it doesn't appear to be documented anywhere, and the Redis configuration documentation uses the word cluster, so the assumption was made...

Symptom:

  1. Everything comes back as "control"
  2. Digging further: if we were to add a log here we would see that every single request comes back as MOVED, meaning the root node is trying to do load balancing
    • Side note: it sure would be great if there were a log or something there. It sure is frustrating having to debug this thing in tsc-generated code, and figuring out what's wrong took over a dozen hours of deconstructing this thing. ioredis uses debug. It might be nice if you used the same, but no pressure :)

Root Cause:

Apparently the RedisAdapater always extends ioredis and doesn't have any support for ioredis.Cluster, which is what is required.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.