React is a JavaScript library for building User Interfaces. It was created by Facebook developers in 2013. It is used with JSX (an extension to Javascript), which basically allows you combine HTML and JavaScript. It is the View part in MVC model as it is used to create individual UI Components which can be combined to create a complete interface.
React helps implementing browser independent DOM systems to enhance cross platform compatibility. It uses the concept of a Virtual DOM. User changes are reflected upon the Virtual DOM. React keeps a track of the browser's actual DOM and the virtual DOM and syncronizes them at the right time. This is done to optimize minimal updates to the browser's actual DOM.
See the Pen WgWemO by Harman Parihar (@harmanparihar) on CodePen.
React is a trending technology which has a small learning curve for someone who is familiar with JavaScript. It has a huge support community, consisting of approximately 70,000 question over stack overflow. There has been an incredible growth in the number of websites that use React all over the world and this figure is predicted to increase over coming years. Some of the major companies that use React include Facebook, Instagram, Netflix and many more.
The goal is to achieve creating User Interfaces containing dynamic data visualization components using React for my team's project.
As a user, I want data presented in pictorial form, so that I can avoid going through hundreds of records in the database to find trends or make conclusions regarding dataset.
As a student, I want interactive visualizations of global climatic change statistics, so that I can manipulate the data being represented according to my needs.
As a Geography instructor, I want an interactive dashboard on my personal blog displaying global climate change statistics, so that I can share the current trends, causes and effects with my students.
A simple react application that performs arithematic calculations.
A react application that uses Google Charts and Fushion Charts JavaScript libraries to create a dashboard.
I built this prototype while learning how states, properties and events interact with each other in React. It basically contains simple react components like Display, Buttons and Numbers that interact with each other to capture onClick event to modify the number being displayed and the final result for the arithematic expression.
The react dashboard that I created combines data visualization libraries like Google Charts and Fusion Chart together to create components of individual visualization being displayed on the dashboard. The app renders only that particular graph that the user is interacting with using the abilities of react, optimizing the rendering process.