Conditional Rendering

Category: How To / Features 0

Conditional Rendering

With this feature, you can show or hide section(column) when it meets specific conditions. By Device Type, Login Status, User Role and combination of these three status you can determine whether the section(column) should be rendered on page or not. As a result, Dom nodes and TTFB will be reduced.

  • Device Type: You can show or hide section(column) on mobile for better optimization on mobile devices.
  • Login Status: Logged user and Guest can get different looks on same page.
  • User Role: Some sections(columns) should be only displayed to authorized users.
Conditional Rendering
Conditional Rendering

Share this post