dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Add examples about why writing to a signal during rendering is an issue to the warning message

Open RustGrow opened this issue 1 year ago • 1 comments

Add a section about the Writing to signals during a render error Especially with examples of what happens when filling out forms. It is not clear in which cases the render event occurs and why it can lead to an infinite loop. Examples in the console are not sufficient for a clear understanding of the error.

RustGrow avatar Oct 02 '24 05:10 RustGrow

The writing to signals during a render error is missing examples. You might be seeing examples from the write and read in the same scope error which is the more general version of the error. There is nothing specific to forms in this error, so the examples that are added will probably not contain forms

This is briefly mentioned in the new documentation, but more in depth examples would be useful in the error message itself

ealmloff avatar Oct 02 '24 13:10 ealmloff