react-native-lazy-index icon indicating copy to clipboard operation
react-native-lazy-index copied to clipboard

codegen doesnt work

Open aemre opened this issue 3 years ago • 4 comments

doesnt create a any file?

aemre avatar Nov 09 '21 06:11 aemre

It's not supposed to. This all happens at bundle time. If you don't minify your bundle, you should be able to find the generated code in there.

tido64 avatar Nov 09 '21 08:11 tido64

How to be sure plugin correctly working?

aemre avatar Nov 10 '21 12:11 aemre

If you disable minification, you can look for the generated code in the bundle. The other way is to measure boot time and memory usage before and after the introduction of lazy-index. You should see that the usage pattern is different. With lazy-index, both boot time and memory usage should be lower. When you open an experience for the first time, memory usage will go up as it loads the JS for that experience.

tido64 avatar Nov 11 '21 07:11 tido64

any example ?

hejun041 avatar Feb 08 '22 07:02 hejun041