Project

General

Profile

Actions

Bug #30900

open

Component render function should be pure

Added by Ondřej Pražák over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When transitioning from erb page to react page, there is a warning in console about render function not being pure. This is caused by removing the rails app container element from page which produces a side-effect.

Steps to reproduce:
1) Navigate from erb page to react page (like Hardware Models) and watch the console


Files

pure-render.png View pure-render.png 59.4 KB Ondřej Pražák, 09/23/2020 07:46 AM

No data to display

Actions

Also available in: Atom PDF