States or conditions?

Is it faster for an application to make visible elements acorss a one page app with states or conditions (via paramaters)?


Set a state
Define another condition (via parameters)


1 Like

Right now I am building a one page app where I use URL parameters to send data when users navigate through menu. And using states inside elements (inside menu) whenever needed.

1 Like

Same here, whereas have just updated our menu and navigation across app, and having other plans, of a more creative menu, where wondering to use only one, from where my question came, what is faster to use, what is more responsive, to use states, or parameter, both linked to conditions that make elements visible or not.

Imagine having one page app, what would be better (faster) to use, states or parameters in the url?

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.