They wanted to help students. The topics at most tech meetups were too advanced. This was the purpose of the Open Brackets meetups said Devon Wijesinghe – President of the Mozilla Campus Club of IIT. The first such meetup touched on the topic of serverless technology. The second meetup, which took place recently touched on the topic of React Native.
What is React Native?
This was how Faizul opened his talk at the Open Brackets meetup. He went onto explain that React is merely a library that only provides elements for the view layers in the MVC architecture. In other words, it only allows developers to create the buttons, text fields, and other elements you see in an app. Everything else would need to be built from something else.
He then explained how the DOM or Document Object Model works. This is what modern web browsers use as an interface to modify web pages. Afterward, Faizul shared that React adopts a Virtual DOM. This is where a representation of the user interface is kept in memory. All modifications are set in this representation before the real interface is updated.
This process allows React to update the user interface much faster. Faizul then shared a demo with us to show how it works first hand. Following his demo, Faizul shared a few best practices. One being developers should make every element of websites operate as a single component. This means any changes would be specific and would an overall increase in performance.
Okay, so what is React Native actually?
Afterward, we saw Harshana Abeyratne – Senior Software Engineer shared a series of tools you can use alongside React Native. He opened by sharing a few libraries for navigation because “Every app needs navigation but React Native doesn’t offer it.” Afterward, he shared the examples of redux that developers can use to store the state of an application.
He later listed Async Storage, SQLite, and CouchDB as libraries that offer storage capabilities. Meanwhile, there are other libraries such as GraphCool, AWS Mobile Hub, and Firebase that offer backend capabilities as a service. Afterward, Harshana listed a few other libraries related to debugging and testing applications. He concluded by sharing a list of libraries that developers can use for analytics and crash reporting.
With the end of Harshana’s session, the second Open Brackets meetup came to an end. It gave everyone attending a basic introduction to React Native. Yet both speakers stated that this was a basic introduction and if you want to truly understand the framework, “You’ll need to research and learn more about it yourself.” The official documentation is a good place to start.