juspay / superposition

Superposition is a context-based configuration management system designed to facilitate safe and flexible rollout of config changes
https://juspay.io/open-source/superposition
Apache License 2.0
348 stars 16 forks source link

fix: Frontend related issues and warnings #243

Closed ayushjain17 closed 1 month ago

ayushjain17 commented 1 month ago

Problem

  1. dlmalloc failing in FE after upgrading to rust 1.78.0
  2. unhandled warnings use of signals in non-reactive sections
  3. content mismatch issue while using key grouping
  4. range for ramp is allowed till 100

Solution

  1. Revert back to rust 1.76.0
  2. convert get to get_untracked and other similar fixes (might not have solved all)
  3. move the check of local storage value to a create_effect to avoid initial value mismatch between client and SSR
  4. limit the max value of ramp based on the allowed max value