F

Fox Root • 490 Points
Goal Maker

Q. Multiple components need cart data. What is correct architecture?

  • (A) Each component calls API
  • (B) Store cart data in NgRx store
  • (C) Use localStorage only
  • (D) Use global variable
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category NgRx Store
  • Hashtags:

Explanation by: Fox Root
Shared data across components should be centralized in store.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.