Filtering Best Practice?

Hi guys,

I am using RGs to reference my databases so I don’t need to do the same search over and over.

Would it be beneficial to create elements for the filters I use regularly too? Or would it make little to no difference?

For example: I have a one-page app with many screens. I have a list of [People] that can be {Active} or {Inactive} and I filter them as required.
As I display those lists of people in a number of places, should I do the filters outside of each screen, then just reference the pre-filtered data?

Hi @QIRO

Using RGs to reference your databases and reduce redundant searches is a great practice. When it comes to filtering, creating elements for frequently used filters can be beneficial for both performance and maintainability, especially in a one-page app with many screens.

1 Like