Reacting to React

React JS

React JS, made by the developers at Facebook, which is also used to develop Facebook. At first this looked like a mess, a highly complicated front-end framework. Setting states, passing props and code-able hooks. But once you get the hang of it you’d know how great of framework this is. Creating interactive UIs rendering only the required regions, this frameworks does all that.

Is it hard to set-up react? “It’s super easy barely an inconvenience” Even if it’s someone who hasn’t used react before if they simply follow the first few steps mentioned in the official website they can get react running in their workstation in few minutes. If you are just getting started I recommend that you check the official website as it covers from the react JS basics.

You can also find additional libraries and components if you need a headstart and theme your ui better or the way you handle the states. But also note that adding external libraries will minimize the amount you could customize.

  • Bootstrap
  • Material-UI
  • Semantic-UI
  • Redux

But for me, the thing about react is, it can dynamically change things around but still when connecting to the backend to fetch data from a database, the query would take sometime. So compared to setting states and props, querying is a bit slow. In order for it work in sync, we might have to use “promises”, but for some reason it didn’t do the job, so used time out with it. Which i was stuck for a long time not knowing how to move forward.

Edit : But thankfully internet has answers for everything.

https://stackoverflow.com/questions/56333979/react-how-to-sync-front-end-with-back-end-requests-without-using-settimeout

Leave a comment