rtfeldman/seamless-immutable

Does not work with Javascript Maps

Offen

#171 geöffnet am 14.11.2016

 (9 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (221 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (5.367 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

I am using a javacript map to store data I retrieve from an api for a udacity project.

However, the data is not being saved to the immutable object.

here is a branch you can clone and verify:

  1. clone https://github.com/noahehall/udacity-trainschedule/tree/serviceworkers
  2. npm install
  3. npm run start

here is picture of implementation

here is picture of error received from immutable error TypeError: immutableDoesNotWorkWithJavascriptMaps.data.has is not a function(…)

Is there a workaround to get immutable to use Javascript maps? am i doing something wrong (very likely...)? or should I abandon seamless immutable?

Contributor Guide