UI development has undergone a major transformation with modern front-end technologies in such a short span of time. React JS is one of these recent technologies. It is an open source library for creating composable interfaces and it is maintained by Facebook.
In this article, I am giving you some useful tips to build an awesome, well built React app. These are the best practices which will help you to improve your react apps as well as your personal knowledge base about React, time by time.
Always keep yourself updated
Never use the old or outdated version. As of 2018 April, current major version of React is React 16. You should keep checking things, which have been deprecated too. Try not to skip even minor updates. For example, if we talk about the latest, React 16 is the first version which is built on top of a new core architecture, name as “Fiber”. Fiber is responsible for most of the new features in React 16, like error boundaries and fragments. React 16 provides better error handling techniques. You can refer this link for version wise list of changes.
Follow design patterns and best practices
In programming, they say, libraries are temporary, but good design patterns are permanent. Learn those patterns and try to make use of them in real life situations. It will help you to make your applications more flexible, perform better, and easier to maintain that will lead to giving your workflow a huge boost when it comes to speed, without reducing quality. Take a look here and help yourself as much as you can. Various forums and sites like StackOverFlow etc. can also help you improve your code, where developers suggest a lot of pretty good ways to achieve a single goal.
Look under the hood
Learning React.js in depth is time well spent. Create a dummy project with or without JSX to get closer to the underlying virtual DOM to optimize your apps more efficiently. Have expertise in the use of “this” keyword in React JS. Read about React’s true strength like the composition, unidirectional data flow, freedom from DSLs, explicit mutation and static mental model. Try to dig deeper into React’s internal properties, it’s lifecycle methods, concepts whenever you get sufficient time. Get familiar with how the state actually changes in react, event delegation and the context API and all of its issues. Finally, grasping the broad overview of React.js Fiber gives a sense of control. Get command in Redux
Performance optimization for slow devices
People may have requirements to use the web app you built on low-end devices with slow connections. So do not get obsessed with your application’s speed and performance on your MacBook. Always measure before you act. And It’s not only about the size of the code, but the quality too. A good quality code also helps you to maintain your code time by time. Use Lighthouse tool to get a rough idea of what needs improvement, then go on with the new webpack dashboard or webpack bundler analyzer to see where can you cut down on size. Use chrome react plugin to inspect your react application while development. If you really need everything you import, performance can still be improved with code splitting and dynamic imports, HTTP/2’s multiplexing and push capabilities and the new prefetching link attribute – to name a few. Improve the performance of your with the official React.js optimization tips. It’s a pretty good list.
Try new things
Always keep your eyes open and check what others in the community do. React uses ES6 syntax in latest versions. One should study and keep checking latest function and syntax in ES6, which eventually would help in React development too. Apart from that have you ever heard of “Electron”? With the help of “Electron” and React, you can build desktop applications too.
Have a look here. You can start creating some great React applications and we hope you’ve learned something new. Do share your ideas in comments below.
Virtual Care, Telehealth, Telemedicine, etc. are terms used very synonymously. Indeed they are interrelated, however, Virtual Care is a broader term in which healthcare providers use digital tools to communicate and deliver care to their patients. Telehealth and Telemedicine are a part of Virtual Care where doctors deliver care to their patients, remotely via phone, video, or instant messaging. Virtual health includes care delivery beyond video consultation where hospitals provide services using technology such as wearables for remote monitoring, instruments for post-op care and second opinions, e-pharma services, and medical information, etc.
The outbreak of the COVID-19 pandemic gave an impetus to Virtual Care, but even in the Pre-COVID time, the Healthcare sector was slowly gearing up for this next wave in care delivery. What COVID-19 did was, help patients get acclimatized to the digital health tools and services.
What does Virtual Health help with?
The pandemic has brought the burning issues of the healthcare sector to center stage. Patient experience and access to healthcare services are key differentiators for people while choosing a healthcare provider. Let’s take a look at some of these issues addressed by technology in the healthcare sector-
The increasing number of patients
Apart from the pandemic, there’s already been a rise in the number of patients due to drastic changes in lifestyle and food habits, an increase in pollution levels, increase in new types of viruses, etc. This has caused undue stress on healthcare institutions and workers and has led to the deterioration of the quality of patient care. Virtual Health technology such as mHealth apps, EHR (Electronic Health Record), video conferencing, etc. has helped reduce the pressure on hospitals.
Difficulty in traveling for old patients
The pace of life is increasing at a rapid rate. It is getting insanely difficult for the elder population to navigate through the traffic and commute long distances for a check-up. Many times, they have to depend on their family members to take them to hospitals. Moreover, they are at risk of exposure to viruses in hospitals and clinics. Now that they have had the experience of virtual consultations, they prefer care delivery at home rather than going to hospitals.
Chronic Diseases treatment
The number of people above the age of 45 face health issues. Some patients are suffering from chronic diseases regardless of age. Regular monitoring of their vitals is very important. Moreover people now prefer Virtual healthcare services which are easily accessible and save a lot of time, effort, and money. Now that people have found these services effective, they will opt for online consults rather than frequent in-person visits.
The duration of post-operative care is quite long and tedious. If given a choice, people will lean towards wearables which will help keep doctors posted on the status of the treatment. Many times, the cost of post-op care is more than the actual treatment and sometimes is not covered under insurance. Virtual care-delivery services will help reduce the financial burden of people going through these treatments.
Some health conditions need multiple follow-ups and second opinions to figure out the right approach to treat the issue. It is much easier for patients to do follow-up consults virtually rather than going through the tedious process of appointment booking, commuting, and waiting for their turn. It helps reduce the queue outside the doctor’s office as well. Some health issues need a second opinion, sometimes both by patients and doctors. Virtual Healthcare technologies make it possible for them to take second opinions from doctors all over the world. With electronic records and image sharing, doctors can diagnose the problem better.
What does Virtual Health include?
Virtual Health can be broadly divided into below applications-
mHealth applications have widespread use. From symptom checkers to appointment booking, from fitness trackers to uploading medical records, from video conferencing features to chatbot integrations, mHealth apps are on a rise mainly because of easy accessibility for the tech-savvy customers. According to a study by NCBI, among the 22 selected mHealth apps operating in India, Practo, mfine, DocsApp, 1mg, Netmeds, Lybrate, MediBuddy, and Medlife were found to be the eight most popular ones with over a million downloads and on average four-plus user rating out of five. All the above apps are mainly being used for online consults. This just goes about showing that people prefer having homecare services instead of stepping out.
The rising number of patients with different stages of COVID symptoms was a task to deal with. E-triage software here enables hospitals to triage patients into different sections when there’s an overload of patients at a particular time. Now, in the case of home care, e-triage tools help patients to access the gravity of their health condition and notify the healthcare provider accordingly. Such tools help reduce A&E waiting time and improve NHS performance. Many companies are building healthcare software integrating the E-triage module within EHR, telemedicine, clinical decision making, billing, etc. In India, Persistent Systems’ cutting edge platform has a Nurse Triage system that enables nurses to see the queue of patients and triage via phone calls. Once the calls are done, a triage report is generated and sent to care providers. Many leading doctors feel that AI in image triage will see a boost in near future.
Remote Patient Monitoring
There are multiple benefits such as reduced post-op expenditure, time wastage, less exposure to other diseases, etc. The global remote patient monitoring devices market is expected to expand at a CAGR of 7.1% during the forecast period (2019–2027) according to Coherent Market Insights. Some of the top players in this space are Biotronik, Boston Scientific Corporation, CAS Medical Systems, CONTEC MEDICAL, Dragerwerk, GE Healthcare, Guangdong Biolight Meditech, Medtronic, Mindray Medical, Nihon Kohden, Philips Healthcare, Spacelabs Healthcare, Abbott. Companies such as GE Healthcare and Philips Healthcare have done a great job with building remote patient monitoring systems within the hospital premises as well as homecare for COVID patients. The main goal was to reduce the exposure of healthcare workers to at-risk patients.
Synchronous and Asynchronous Telehealth
Synchronous telehealth, in other words, Telemedicine is where there is a live conversation between the patient and the doctor. Asynchronous telehealth involves the exchange of recorded data e.g. images, video, medical reports, pathology reports between patients and doctors, at times between doctors as well. Similar to mHealth space, companies like Practo, 1mg, Lybrate, Medlife, and Portea Medical in India are some of the top players in telehealth and telemedicine. Lybrate’s USP lies in CMS (Clinical Management System) which helps doctors with tedious tasks of managing patients and providing better care. Meanwhile, Portea Medical’s home consults and pharma delivery have more relevance with the audience as it combines technology with a touch of personalization.
Digital Therapeutics delivers evidence-based therapies with the help of software which can be used both as a preventive measure as well as treatment application. The effectiveness of the medication and lifestyle changes on patients are monitored by leveraging technology. In India, major non-communicable diseases that account for 62% of the total mortality rate are CVD, diabetes, respiratory conditions, and cancer. Prominent global players in this space include Noom (US), Livongo Health (US), Omada Health (US), WellDoc (US), Pear Therapeutics (US), Proteus Digital Health (US), Propeller Health (US), Akili Interactive Labs (US), Better Therapeutics (US), etc. Omada Health is the pioneer in the DTx (Digital Therapeutics) that focused primarily on diabetes and pre-diabetes but now is branching out in the mental health space as well. In India, Altran (a part of Capgemini) is into building personalized DTx applications for clients. Whereas a start-up called Wellthy Therapeutics has ready solutions catering to multiple diseases.
Future of Virtual Health
Undoubtedly, there has been a massive increase in the adoption of Virtual Health technologies as people have gotten accustomed to the ease of certain services at home. In the coming future, mHealth apps, remote patient monitoring, and Digital therapeutics see a surge in demand from the customers. According to a study by Markets and Markets, “The global digital therapeutics market is projected to reach USD 6.9 billion by 2025 from USD 2.1 billion in 2020, at a CAGR of 26.7% during the forecast period (2020–2025).” A study by Fortune Business Insights, “The global mHealth market size is projected to reach USD 293.29 billion by 2026, exhibiting a CAGR of 29.1% during the forecast period.” A Research and Markets report says, “The remote patient monitoring market is expected to reach US$31.326 billion by the end of 2023.” Apart from the above, development in digital infrastructure such as virtual health stations where doctors can provide consultations globally, mobile ICUs, MRIs, X-rays, ultrasound equipment, the establishment of rural virtual care units reaching the remote areas of the country are some of the trends which will gain momentum. The focus would always lie upon the personalization of the virtual care experience for patients driven by data exchange and interoperability.
Indeed, there are certain challenges to the implementation of these technologies, lack of infrastructure, and digital literacy amongst elders and lower strata of society. Many healthcare institutions still have inhibitions while investing in digital technologies fearing rejection from the customers. It will be crucial for care providers to choose the right partner for implementing these technologies and create awareness amongst people to adopt them.
In a Nutshell
The success of virtual care relies on how well the digital experience is designed for the patient. “By 2025, as many as 95 percent of all customer interactions will be through channels supported by artificial intelligence (AI) technology” – Microsoft. The use of algorithms and AI for personalizing these experiences will be the key.
Find out more about unchartered territories in ‘Blue Ocean’ of Digital Health. Join our webinar hosted by Parag Sharma (CEO, Mantra Labs) as he shares his insights on untapped opportunities using digital self-care tools within behavioral healthcare & emotional wellness.