[Mojolicious] Mojolicious::Lite how to refresh table only

2018-03-21 Thread Luc Larochelle
Hi everyone, I built a single page application to display content in a table with Mojolicious Lite. This works fine, the first time the data is rendered. I pass the values through the stash and in my template, I use a for loop to go through the structure and display in the web page. The proble

Re: [Mojolicious] Mojolicious::Lite how to refresh table only

2018-03-21 Thread Dan Book
Refreshing the page and refreshing the table are two different things. The latter you would need to do in javascript, ideally with a framework like vue or react that can handle the ugly details. If you refresh the page, you only need to have the route provide the subset of the data instead of the f