Skip to content

Refactor to use React component life-cycle methods as they were intended to be used #292

Closed
@begincalendar

Description

@begincalendar

Are there any compelling reasons as to why the Modal component does not utilise the React component life-cycle methods (e.g. componentWillReceiveProps), as the React design intends them to be used?

The implementation obviously works, but because it is unorthodox (in at least my opinion), issues such as these have arisen (and wouldn't have existed if this approach had not been taken):
#71 #291

If there are no compelling reasons, should we look at refactoring the implementations of those life-cycle methods?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions