gaearon / gaearon/react-document-title

Should use the deepest truthy value

Open
#42 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Set the title to the deepest truthy value instead of blindly using the last value. This is helpful when a dynamic value returns null because I'd expect it to use the default value OR the next value up in the tree. I'll create a PR for this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.