Omar Shishani

Picture of volkswagon bus in desert with big rocks.

Easy Migrating of WordPress Site’s URL to Root URL (With Program Files Remaining in Subdirectory)

I built a site for a client on her server under the url ‘https://mysite.com/wordpress’, but then for production I had to change the url to remove the ‘/wordpress’. The wordpress files on the server were in the directory ‘wordpress’, which was in the root directory, ‘public_html’. So the files were in ‘public_html/wordpress’. I want to …

Easy Migrating of WordPress Site’s URL to Root URL (With Program Files Remaining in Subdirectory) Read More »

Girl standing on wooden arched bridge in a park, with green trees in the background.

Managing React State: Why calling state at the right time makes for a wonderful walk in the park

You and your best friend made an appointment to meet for a walk in the park, and then you rescheduled to a new date. The next day, you checked your calendar, biked to your rendezvous… But where is she? Didn’t you guys agree to meet at this time? You stand there puzzled, while your friend …

Managing React State: Why calling state at the right time makes for a wonderful walk in the park Read More »

React Lifecycle: Why componentDidMount() is great for a smooth API call

When you are buying groceries to make dinner, you can’t start preparing the ingredients – chopping the onions, washing the radishes – until you’ve paid for the groceries and driven home, can you? This wouldn’t make sense. Similarly, in React we can’t make modifications to a component until it has been mounted. This is where …

React Lifecycle: Why componentDidMount() is great for a smooth API call Read More »