Trendyol interview question

Why are we using Redux or Flux?