What is React JS?
Short History of React JS
React JS was built by a Facebook engineer called Jordan Walke. He was inspired by several frameworks such as Angular and XHP. React was first deployed at Facebook in 2011 and on Instagram in 2012. React was made to be an open source at 2013 in JSConf. React JS has several versions already, this includes React Native which allows native Android, iOS, and UWP to be integrated with React. The newest React is called React Fiber which Facebook just announced not so long ago. This is a new react with new core algorithm that is used for building user interfaces.
Several Features of React JS
1. One Way Data Flow: To unlock React JS’s full potential, properties (values that is unchangeable) are passed to a component that will perform its function. The component should not modify any properties that are being passed to it, this is called one way data flow.
2. Virtual DOM: Virtual Document Object Model or also known as Virtual DOM is another feature you can find in React JS. It will create a data structure cache, calculate the difference and then it will update the browser’s displayed DOM. By doing so, a programmer can write the code as if the page was rendered on each page but the React libraries render the subcomponent.
Author: Kevin Helma (1801428541)
Supervisor: Dewi Suryani (D5878)
Published at : Updated