Your one stop solution for Javascript & ReactJS is here !!!!

  • Your one stop solution for Javascript ReactJS is here !!!!
  • We have something to your rescue – Geekabyte offers a one stop solution for courses on both JavaScript and ReactJS which covers all the concepts from basic to advanceIsn’t it great to have everything in one place at your disposal !!!
  • Below are a few things that you will be learning by attending this workshop.
  • Sure, The following are the topics that we will cover in the workshop series.
  • JavaScript DelegationPrototypes InheritanceAsynchronous programmingPromisesReactJS Series: – Introduction to ReactJSVDOM and its importanceReconciliation algorithmStateless ComponentsProps StateLifecycle MethodsAre you super thrilled and want to attend one of the workshop ??

Do you want to learn Javascript but you are lost from where to start or Do you wish to up your skills in Javascript or ReactJS but you are frustrated with visiting a plethora of tutorials available…
Continue reading “Your one stop solution for Javascript & ReactJS is here !!!!”

Babel · The compiler for writing next generation JavaScript

  • Babel has support for the latest version of JavaScript through syntax transformers.
  • These plugins allow you to use new syntax, right now without waiting for browser support.
  • Check out our env preset to get started.
  • You can install this preset with – – and add to your presets array.

The compiler for writing next generation JavaScript
Continue reading “Babel · The compiler for writing next generation JavaScript”

Creating a chat web app using Express.js, React.js & Socket.io

  • Implementing Send Message functionalityLet’s go back to our Client’s Chat.js Component and add the following functionality to our button:Now let’s create this.sendMessage function:in Constructor add the following:Great.
  • You are now sending the message to the server every time you click ‘Send Message’, and then your message input is cleared so you can write another message.
  • All we have to do now is tell the server to emit the message to everyone who’s socket is connected to our server.In app.js on the server side add the following code:What we are doing here is that we are emiting the info we received from the client (author and…
  • Now all that’s left to do is to catch that emit on the client side and add the message to our messages array.Back in the Chat.js component on the client side add the folloing in the constructor:I will now post how all the files should look like:Chat.jsapp.jsThis function will catch…
  • We already implemented a messages.map functionality so now every time you add a message you should see it in your chat.

In this article I will be creating a chat web app using Express.js, React & Socket.io. I will be using Bootstrap for styling. You will see how the final files should look like in the end. We will now…
Continue reading “Creating a chat web app using Express.js, React.js & Socket.io”

Simple Guide to Creating a Single Page App with React Router

  • Below, you’ll see dom appended to signify the web version.npm install –save react-router-domUsing ES6 modules, you can import the components that we need:import { BrowserRouter, Route, Link } from ‘react-router’;// wrap your App component in the BrowserRouter BrowserRouter App //BrowserRouterWrapping your application in the BrowserRouter component will give your child components access to props from the native browser history API which allows the components to modify and match against url paths.
  • With that in mind, we can move on to the Route and Link components.RouteEach Route component will have a prop that represents the path to match against.
  • For example:BrowserRouter div Route exact path=”/” component={Home} / Route path=”/about” component={AboutMe} / Route path=”/contact” component={Contact} / Route path=”/projects” component={Projects} / /divBrowserRouter /***Take note of the fact that you’ll need to wrap any routes up in a div as the BrowserRouter component can only have one child node.Above, you’ll see that we have three routes each with a path and a component prop.
  • Remember that these aren’t routes in terms of static routing — they are simply conditionally rendering based on a pattern match from the location in the browser’s native APIs.LinkBecause we don’t want the page to load when we click on a link to a different part of the page, we can’t use your standard anchor tags for links.
  • The Link is set up how you’d expect following the conventions that we’ve already seen.BrowserRouter div Link to=”/”Home/Link Link to=”/aboutAbout Me/AboutMe Link to=”/contactContact/Contact Link to=’/projectsProjects/Projects Route exact path=”/” component={Home} / Route path=”/people” component={People} / Route path=”/contact” component={Contact} / Route path=”/projects” component={Projects} / /divBrowserRouter /There’s also a NavLink component that has useful properties for showing which link is currently active, so that’s something to explore if you’re looking for that kind of styling.That’s it!

Here’s a quick setup guide to creating a basic single page app with React. The goal of this post is not to get into the finer details of React Router, but rather to get you off the ground. As always…
Continue reading “Simple Guide to Creating a Single Page App with React Router”

Screenshot Saturday 2017-08-26

  • This week I’ve been working on combat feedback – basically how to tell the player what’s happening in a combat encounter.
  • There’s currently four types of feedback: info, damage, buff and debuff.

Post with 16 votes and 1929 views. Tagged with gaming, video games, indie game, gamedev, screenshotsaturday; Shared by gsengine. Screenshot Saturday 2017-08-26
Continue reading “Screenshot Saturday 2017-08-26”

WEEK -3 Updates [15th June — 22th June] – Reuben Varghese – Medium

WEEK -3 Updates [15th June — 22th June]  #react #gsoc #openmrs #weekly #addons #reactjs

  • WEEK -3 Updates [15th June — 22th June]Yet another week into Gsoc @ OpenMRS and things and the fun just keeps increasing!
  • I get to learn new things , implement things in a smart way as opposed to the conventional way.This week I had 2 tasks:a) Improved Tagging supportb) Display compatibility of the module with current installed OpenMRS versionUnfortunately out of the above 2 tasks , I am still working of the 2nd task so I guess I can say that this week’s work wasn’t as per my expectations.Anyway moving on to the updates of last week, I succesfully implemented the tagging mechanism.
  • Now, a user can click on a tag and all modules with that tag will get grouped together.How did I go about it?Firstly, I created the Rest API for it using spring .
  • On clicking the tag, basically the UI calls the Rest API which returns the data i.e. the list of modules with same tag.
  • This data is then inflated into the UI with the help of React router which does the job of connecting the front end to the back end.OUTPUT:Fig 1: Clickable tag as seen in the grey labelFig 2: List of modules with the tag: “form-entry”Conclusion:Not a very productive week Gsoc @OpenMRS, but optimistic about week 4!

Yet another week into Gsoc @ OpenMRS and things and the fun just keeps increasing! I get to learn new things , implement things in a smart way as opposed to the conventional way. Unfortunately out of…
Continue reading “WEEK -3 Updates [15th June — 22th June] – Reuben Varghese – Medium”

Better Prop Validation in React – Medium

Better prop validation in #ReactJS - for more stable, easier to read code:

  • const { shape, number, object, arrayOf } = React.
  • const { number, string, shape, objectOf} = React.
  • PropTypes const coworker = shape({ id: number.isRequired, name: string, }) Meeting.propTypes = { info: shape({ timestamp: number.isRequired, room: number, organizer: coworker, }).isRequired, participants: objectOf(coworker).
  • PropTypes Meeting.propTypes = { info: shape({ timestamp: number.isRequired, room: number, organizer: shape({ id: number.isRequired, name: string, }), }).isRequired, participants: arrayOf(shape({ id: number.isRequired, name: string, })).isRequired, }
  • PropTypes Meeting.propTypes = { info: shape({ timestamp: number.isRequired, room: number, organizer: object, }).isRequired, participants: arrayOf(object).

For more stable, easier to read code
Continue reading “Better Prop Validation in React – Medium”

React Native and Typescript – Medium

Setup a #ReactJS Native project with a Typescript environment as an alternative to Flow:

  • Because – let’s be honest – there should be none React Native components written in Typescript with typings.
  • React (and Facebook) official typing system is Flow .
  • Also we want to use JSX syntax and be able to include Javascript files along with Typescript files.
  • We found some typings, but they follow an old format.
  • Let’s find the typings of React Native.

The main intention of this blog post is to show how to setup a React Native project with a Typescript environment as an alternative to Flow…
Continue reading “React Native and Typescript – Medium”

CheezyCode: 5 Popular Libraries For React JS Apps

Libraries we used in our React JS based App. 


#reactjs #JavaScript #cheezycode #learn #code

  • Everyone is going crazy to use JavaScript libraries that helps create scalable and maintainable web apps.
  • You can refer the infographics below for these 5 libraries we chose to work with react js based client application development –
  • For asynchronous activities in React Apps with Redux – this library can be used.
  • Though small applications can be made just by using React JS library itself but for enterprise level applications – it is best to use some of the open source libraries.
  • Using these libraries and with some scripts and tools, you can create a highly scalable and maintainable app with exceptional development experience.

Read the full article, click here.


@cheezycode: “Libraries we used in our React JS based App.

#reactjs #JavaScript #cheezycode #learn #code”


In the world of programming, everyone is concerned about performance. Although the system are getting more and more advanced but hunger for…


CheezyCode: 5 Popular Libraries For React JS Apps