Project

General

Profile

Actions

Defect #185

closed

FE: Content is not refresh after reusing same component

Added by Vít Švanda about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Frontend
Target version:
Start date:
11/08/2016
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Content is not refresh after reusing same component.

When we have content (page) for some entity and we will go to another entity (using same component) , then content of component will be not fully changed (refreshed for new entity).
This problem occurs only if previous component did not unmount (react use same instance of this component).
For example that problem occurs on detail history of workflow process (and on many others).

This problem can be fixed with correct using method componentDidMount and componentWillReceiveProps (correct implementation is maybe in SchemaAttribute.js)

Actions

Also available in: Atom PDF