React Memory Router Tutorial
Continuing from previous React Router 5 tutorial, now we take a look a React’s memory router. Our list of routes remains the same … However, instead of importing BrowserRouter from...
read moreContinuing from previous React Router 5 tutorial, now we take a look a React’s memory router. Our list of routes remains the same … However, instead of importing BrowserRouter from...
read moreContinuing from previous example, let’s changes our “about” routes to be able to show “ContactComponent”, “CatsComponent”, and “DogsComponent”,...
read moreIn this tutorial, we start with create-react-app to create a new React app called “demo-routes” so that we can show you how React Router 5 works. Running the starter app, it has no...
read moreWe will start this Javascript closure tutorial with an fairly common Javascript interview question (in this form or some variant of this form)… What is the output of the following...
read moreThere are so many ways of formatting strings i Python. For example… You can use formatted string… location = "New York"temperature = 76.22greeting = f"Temperature in {location} is...
read moreA python list can hold multiple types … stuff = ['apple', 1, (22.7, 31.5)] It’s element can be accessed by index … stuff[2] Or you can get the index of an element by...
read moreIn previous tutorials, we wrote a class in Javascript and in Python. Refer back to those tutorial codes and you will see that both uses the “class” keyword to define a class. In...
read moreIn previous tutorials, we showed you how to use the map and filter functions in both Javascript and Python. Lets compare the two popular languages. First there is the naming conventions. Javascript...
read moreHere is an example of a Javascript map function in action. It is a method of the array class, so we first have to create an array myList… let myList = [2, 4, 3, 7, 8];let doublesList =...
read more