openculinary / frontend

The RecipeRadar Frontend is a recipe search and meal planning application
GNU Affero General Public License v3.0
13 stars 2 forks source link

Revert "Best practice: prefer 'Map' objects to plain 'Object' instances" #193

Closed jayaddison closed 3 years ago

jayaddison commented 3 years ago

This reverts commit 61ca94c1f9ab0ee4a60903eec80a8232fe6b2da3.

Describe the reason for these changes and the problem that they solve

A migration to use Map objects instead of plain JavaScript objects was incomplete and had detrimental side-effects. See #191 for some further details.

Briefly summarize the changes

  1. Revert the Map object migration from 61ca94c1f9ab0ee4a60903eec80a8232fe6b2da3

How have the changes been tested?

  1. Local development testing

A future change to re-introduce the Map object migration will include unit test coverage.

List any issues that this change relates to Fixes #191 Fixes #192