I am developing a web app and enabled the PWA flag in application setting. In the app I am using oj table and oj list to show emp data. Expectation is If I am using the app in laptop I want to show emp data using oj-table and hide oj-list. If i use the app in Mobile i want to show emp data using oj-list and hide oj-table. I do not want to maintain two different app for based on device.
I tried it using Dynamic Component to define the rule set based on the device but not able to get it. Attached is the app.