Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

Move code from componentWillMount to class' constructor #62

@Nilomiranda

Description

@Nilomiranda

Description

File ChatBot.js still uses componentWillMount() to run some of its logic.

But this lifecycle method is not recommended to be used anymore.

From what I looked into the code, there are no side effects running inside willMount() but wouldn't it be interesting to update the code, so we wouldn't face any warning when developing an app?

Screenshots

react-native-chatbot issue

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