react-native-lazy-index
react-native-lazy-index copied to clipboard
codegen doesnt work
doesnt create a any file?
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.
How to be sure plugin correctly working?
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.
any example ?