Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Fix 0 as itemKey issue #139

@bennobuilder

Description

@bennobuilder

🐛 Bug report

🤖 Current Behavior

If you have a Collection and have an Item with the itemKey 0..
it will have problems with this itemKey because we often do

if(!itemKey)
// ..

instead of

if(itemKey == null)
// ..

🎯 Expected behavior

Shouldn't be a problem having an itemKey called 0

💻 Your environment

Software Version(s)
@agile-ts/core 0.0.15

Metadata

Metadata

Assignees

No one assigned

    Labels

    @agile-ts/coreRelated to the @agile-ts/core packagebugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions