andrewdavey / andrewdavey/immutable-devtools

The string "null" is formatted as null

未關閉
#37 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
671
分支
32
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。