components icon indicating copy to clipboard operation
components copied to clipboard

Improve the repeater "data" for better performance

Open fabiorogeriosj opened this issue 6 years ago • 0 comments

In here: https://github.com/MobileUI/components/blob/master/mobileuijs

MobileuiJS is a small lib for repeating the data of an array in html, similar to the ng-repeat of AngularJS, but much simpler.

It is used when the developer does not want to use a more efficient lib and natively do (js) their app functions.

Today mobileuijs only traverses the elements of an array and uses a replace () to change the data, however it is inefficient, it would be better to use regex or even another webview-compatible feature to make a better performance.

fabiorogeriosj avatar Oct 02 '18 13:10 fabiorogeriosj