My hosted react App & need for increased workspace

Roxilla
LearnFactory Nigeria
2 min readJul 29, 2019

25th July 2019 and I am a pro in building responsive web app using React Router hosted with zeit.co . Check out the hosted app and its functionalities on https://my-todo-app.jacy202.now.sh/

MY TODO APP

React.Js is quite a famous library among the JavaScript developers. Routing to front end application is a very important concept.

First of, you would need to install npm on your system terminal with command

npm install -g react-router-dom”

To launch the App, you are also required to install “expo cli” and you launch it with the “now” command.

After the installation , you would notice some bunch of folders and files which are indeed very relevant.

In the source folder, you can create more files for your work else edit the already existing folders for your project.

The beauty of react is its use of components which helps us separate our concerns distinctively hence we can separate the sections we want in a web page into components like HEADER Component, FOOTER component, NAVLINK component,HOMEPAGE component,ROUTES component etc.

By this, we can efficiently and effectively work on each aspect of the sections,treat bugs or delegate distinct duties when the need arises .

Worthy of note is that for a component to access or make use of functions , states or images of another component, the components has to be imported into the other file. The imported component also has to be exported from its file.

My source code for the app above can be found on git hub @jacy202.

AWESOMELY RESPONSIVE

Worthy of note is the need to avoid work space error as a result of merging in git, there is need to do the following on your terminal:

  1. input “sudo gedit/etc/sysctl.conf”
  2. Enter your system password
  3. Scroll to the bottom of the pop-up and paste this line:
    fs.inotify.max_user_watches=524288.
  4. Click on save and close the gedit window, then run this line on your terminal again
    sudo sysctl -p
  5. To check your success, run:
    cat /proc/sys/fs/inotify/max_user_watches
    This should return 524288

This will free up space and allows you to run your code without hiccups.

.

--

--