Reformats main form navigation so we no longer push the next screen to the stack. The next screen is instead replaced and the number of routes that we juggle in our form stack navigator can no longer grow out of control.
This greatly reduces the number of views running at one time.
These tests run hermes for the debugger, but performance is better running jsc.
Going through a simple form in dev before refactoring. (9 routes, 4k+ Views)
Going through a simple form after refactoring. (1 routes, 400+ Views)
There is still an issue relating to the addFish component when moving forward and backward. This has been resolved
This performance increase is substantial and should be implemented in other parts of the Application when possible. Specifically, the Monitoring program flow would benefit from these changes.
Completes #297
Reformats main form navigation so we no longer
push
the next screen to the stack. The next screen is insteadreplaced
and the number of routes that we juggle in our form stack navigator can no longer grow out of control. This greatly reduces the number of views running at one time. These tests runhermes
for the debugger, but performance is better runningjsc
.Going through a simple form in dev before refactoring. (9 routes, 4k+ Views)
Going through a simple form after refactoring. (1 routes, 400+ Views)
There is still an issue relating to the addFish component when moving forward and backward.This has been resolvedThis performance increase is substantial and should be implemented in other parts of the Application when possible. Specifically, the Monitoring program flow would benefit from these changes.