Comments (9)
For reference, what version of Enact CLI are you using? This can be seen from the enact -v
command.
from enact.
Hi Gabriel, thanks for the report. Do you have some sample code that demonstrates the issue? It may be that something in the application is causing unnecessary re-rendering. On a desktop-class machine, extra renders have little impact. On an embedded system, extra renders can have a dramatic impact. Using strategies that reduce renders (shouldComponentUpdate
and pure components) are important. You may want to use some of the tips contained in the Enact performance guide.
from enact.
One other tip: Using Chrome DevTools' processor slow-down feature can be useful to approximate the performance of embedded systems when developing.
from enact.
For reference, what version of Enact CLI are you using? This can be seen from the
enact -v
command.
Enact version: 1.2.0
from enact.
Thanks for the reply @webOS101. Let me optimize the code and recheck the performance of application. Meanwhile, could you give a suggestion or a tip to customize moonstone components?
from enact.
Hi @gabrieljerin , for Enact 2.x you'll want to use CLI 2.x. It includes a wide arrange of improvements over 1.2.0 and may help. Additionally, with 2.x CLI you can target particular versions of browsers using the Browserslist format.
For example, to target LG webOS TV 4.x, you could set env var BROWSERSLIST="Chrome 53"
before building, then it will only transpile and polyfill the minimum requirements for Chrome 53 without added bulk/processing.
from enact.
@gabrieljerin Customization is very easy. The docs should mention the css classes you can pass in. I would suggest you visit our Enact gitter chat or open a new issue with a specific question.
from enact.
Hi @webOS101 , Is there a way to use react life cycle hooks in enact/core/kind ?
from enact.
@gabrieljerin If this issue has been resolved, can you close this ticket? If not, please provide more information. If you found your solution, it would be helpful to share it here.
from enact.
Related Issues (20)
- How to update to enact 2? HOT 2
- How to serve static file? HOT 3
- How to include external scripts to the application HOT 4
- Enact Moonstone video player not working on Tizen Tv(5.0) HOT 5
- Unknown browser query `dead` HOT 3
- onToggle type not defined in CheckboxItem HOT 2
- Adding actual icons to the Icon documentation HOT 2
- Adding animation flag for the scroller / vertualList HOT 1
- viturallist navigation issue HOT 1
- Standalone uiLibrary in an external project HOT 4
- Compatibility with expressJS, reactJS and reactNative HOT 2
- Running test from any of the enact samples shows error HOT 2
- a vulnerability CVE-2020-15168 is introduced in @enact/core HOT 1
- Spotlight focus behaving differently depending on screen resolution. HOT 5
- how make a build that have filename with hash ? HOT 1
- video player error enact.js HOT 6
- enact js Version compatibility issue HOT 4
- Subtitles support in player HOT 8
- Video player is not supporting m3u8 HLS format HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enact.