andrewdavey / andrewdavey/immutable-devtools

The string "null" is formatted as null

Aperta
#37 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
671
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The string "null" is formatted as `null` itself, causing confusion.

Screenshot: https://imgur.com/yx81O8Z

This is on the Chrome extension as installed from the Chrome Web Store at https://chrome.google.com/webstore/detail/immutablejs-object-format/hgldghadipiblonfkkicmgcbbijnpeog?hl=en

This appears to be happening because of this line: https://github.com/andrewdavey/immutable-devtools/blob/master/src/createFormatters.js#L37

It can probably just be removed because actual nulls are formatted correctly by the fallthrough case that formats all objects.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.