People Innovation Excellence
 
Feature Image

REACT JS

What is React JS?
React or also known as React JS is a JavaScript library that is used to create user interfaces. React is created and maintained by two internet giants; Facebook, Instagram, and also communities of individual developers. By using react, large web applications that use data and change over time without reloading the page can be created, the goal of using react is to gain speed, simplicity, and scalability. React can be combined with other JavaScript libraries or frameworks.

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.
3. JSX: Usually, react is going to be written with JSX; JSX is a JavaScript extension syntax that allows the users quoting HTML and uses HTML tag to load subcomponents. Below is the example of JSX Code:

Author: Kevin Helma (1801428541)
Supervisor: Dewi Suryani (D5878)


Published at : Updated
Written By
Kevin Helma
Student of Computer Science | School of Computer Science
Leave Your Footprint

    Periksa Browser Anda

    Check Your Browser

    Situs ini tidak lagi mendukung penggunaan browser dengan teknologi tertinggal.

    Apabila Anda melihat pesan ini, berarti Anda masih menggunakan browser Internet Explorer seri 8 / 7 / 6 / ...

    Sebagai informasi, browser yang anda gunakan ini tidaklah aman dan tidak dapat menampilkan teknologi CSS terakhir yang dapat membuat sebuah situs tampil lebih baik. Bahkan Microsoft sebagai pembuatnya, telah merekomendasikan agar menggunakan browser yang lebih modern.

    Untuk tampilan yang lebih baik, gunakan salah satu browser berikut. Download dan Install, seluruhnya gratis untuk digunakan.

    We're Moving Forward.

    This Site Is No Longer Supporting Out-of Date Browser.

    If you are viewing this message, it means that you are currently using Internet Explorer 8 / 7 / 6 / below to access this site. FYI, it is unsafe and unable to render the latest CSS improvements. Even Microsoft, its creator, wants you to install more modern browser.

    Best viewed with one of these browser instead. It is totally free.

    1. Google Chrome
    2. Mozilla Firefox
    3. Opera
    4. Internet Explorer 9
    Close