Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

clearIntents causing performance lag? #1182

Closed
yourfavorite opened this issue Aug 22, 2018 · 1 comment
Closed

clearIntents causing performance lag? #1182

yourfavorite opened this issue Aug 22, 2018 · 1 comment

Comments

@yourfavorite
Copy link

yourfavorite commented Aug 22, 2018

The Problem

image

I have a page that loads many rows where each row is its own form. Switching between pages that only have a few rows performs fine, but as seen above switching to a page that has many rows (40 in this instance) causes a significant delay in the UI (400ms). It appears to be caused by the clearIntents?

I'm using the track method with an array of forms.
model={track('rrf.rows[]', { _id: row._id })}

When the page loads, I take all of the rows and pass them to the actions.change() function:
dispatch(actions.change('rrf.rows', rows))

Any idea how I might fix this delay?

@yourfavorite
Copy link
Author

I don't think I've given enough info for this to be solvable at the moment and there's no proof that its the fault of RRF. Going to close this until I can provide more info. Sorry for the spam.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant