Message from JavaScript discussions

September 2018

— Hi, what is my options if I need to customize some of my ui to mobile or tablet devices ? generally use reponsive design but when it is mobile I need defferint ui for example (show table in desktop, show detailed list on mobile) in the same route . p.s. I am using (Vue)

Message permanent page

— 

Try conditional rendering, easiest way for me is to use a flexbox library and setting the values in row & col by my wishes

— <Col xs={12} md={6} lg={4} />

— Show table in desktop, show detailed list on mobile
!!

— Then go with :
`smallWindow ?
<List>
`

— :
<Table>

— Set an eventlistener to your window and check how big the page is when you mount the component

— Https://vuejs.org/v2/guide/conditional.html

— Thank you

— I would call it path selection, not rendering🤤

— Here is some quote from "css-transforms-1": CSS is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, in speech, etc.

Message permanent page

— Someone else has been used Sails.js ??