appsmith
appsmith copied to clipboard
[Task]: Perf improvement on view mode
Is there an existing issue for this?
- [X] I have searched the existing issues
SubTasks
Objective
There are multiple piece of code that are running on the view mode but are not really required. This is a low hanging fruit for us which will give us a very easy performance boost.
Areas
- [ ] NavigationSagas dont need to run on the view mode
- [ ] UpdateDependencyMap is also been called, not required
Suggestion by @hetunandu We make running code in view mode an OPT IN instead of an OPT OUT. We need to enable pieces of code that can run in view mode. For example, in Sagas, we can have a pre check that will only pass for sagas that are "enabled" for view mode