Let's go through our app and clean it up! This will help to make sure that future development is clean, and will make our jobs easier in the future.
A few things you should do to clean your app:
[ ] Remove any un-needed/commented-out code
[ ] Remove any extra whitespace
[ ] Fix formatting (right-click on the code within a file, and click Format Document)
[ ] Remove any duplicate functions (if you're using the same component or function in two or more places, let's remove the duplicates and use one function in all locations!)
[ ] Rename any components, functions, or variables that are confusing
[ ] Make sure the app still works after all of the clean-up!
Keeping a clean, easy-to-read, and easy-to-understand app is really hard to do. However, spending a bit of time now to clean up our app will save us more time in the future, and generally make our lives a little easier in the future. Feel free to do any other types of app cleaning while making these changes!
Let's go through our app and clean it up! This will help to make sure that future development is clean, and will make our jobs easier in the future.
A few things you should do to clean your app:
Format Document
)Keeping a clean, easy-to-read, and easy-to-understand app is really hard to do. However, spending a bit of time now to clean up our app will save us more time in the future, and generally make our lives a little easier in the future. Feel free to do any other types of app cleaning while making these changes!