andrewdavey / andrewdavey/immutable-devtools

The string "null" is formatted as null

Aberta
#37 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
671
Forks
32
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.