Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issues with larger datasets [Javascript Framework] #17

Open
DavidCarl opened this issue Mar 9, 2020 · 1 comment
Open
Assignees

Comments

@DavidCarl
Copy link

Right now we are facing problems with our choice of JavaScript framework (VueJS). In our own internal project Dilly-Dally we are facing problems with outputting a larger JSON Object.

Our plan was to have this data in a table, however it seems VueJS are struggling a bit with displaying so much information fast. Source

This could end up taking us into 4 solutions:

1st solution is scrapping VueJS and try to implement it in other frameworks such as React and Angular and compare their responsiveness. Apparently React might be faster for this use case compared to VueJS Source

2nd solution is to remove the input fields in each cell since input fields are heavy to generate. This solution makes multiple new solutions. This could be to make them editable through event-listener on-click on the text, a button that changes the text to input fields or open a modal box.

3rd solution is to scrap the table idea and make rows with div and then use CSS to make it look like a table. This should also give us some performance improvements. Source

4th solution is figuring out if pagination helps solve this problem for us, or if there is something else that can fix it for us.

Please comment down below if you feel like there is something that we have missed here

@HeinLarsen HeinLarsen transferred this issue from devx-cafe/code-cafe-mar20 Mar 10, 2020
@groenborg
Copy link

3rd and 4th in a mix, I believe is a good solution. Having large datasets in your frontend tends to slow down any framework, using pagination is a good approach here. Also, I don't believe anyone is using table tags anymore. Better to write your tables using divs and the like and use CSS grids for styling.

@HeinLarsen HeinLarsen transferred this issue from devx-cafe/code-cafe-feb20 Mar 10, 2020
@LouBNielsen LouBNielsen self-assigned this Mar 16, 2020
@DavidCarl DavidCarl self-assigned this Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants