镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Inconsistent defaultProps behavior in debug / no debug mode  #32

Open

Description

@djaonourside

Hi, Rudy! It looks like react-next has this bug too.
massive-oss#131

Activity

  1. kLabz commented on Oct 14, 2019

    @kLabz
    Owner

    Can you check if latest git (with this commit 138cc01) fixes your original issue and works for your project?

    If it works I'll make a PR to haxe-react too. Note that this won't be the final fix; I still need to add tests to check other cases (spreads, etc.) and this can be optimized (by skipping constant arguments, etc.). I might end up calling a "native" Object.assign to get the same behavior as react's.

  2. djaonourside commented on Oct 14, 2019

    @djaonourside
    Author

    Confirm, the fix solves the issue for my project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions