Problem I’m trying to update my skillset by learning how to write isomorphic JavaScript applications. For my stack, I’ve chosen […]
Category: React JS
Pattern usage for increment / decrement React (Hooks)
Problem When asked to increment / decrement a particular value I usually create specific functions to handle this functionality. Like […]
Static single page app with routing
Problem I’m currently trying to write an app with Cordova and ReactJS. I haven’t used ReactJS before, so I’m very […]
Country Guessing Game
Problem I’m learning React and I made this country guessing game. What improvements/suggestions do you have for it? Preview it […]
Dockerfile to install Python and React in Linux container
Problem I am learning how to use Docker. I’m creating a container that contains Python and React. This code works, […]
React Flux structure for a shopping app
Problem We have just started up a new app and we are using React with the Flux architecture. We have […]
sportsRunning and sportsWalking
Problem There are two functions, sportsRunning and sportsWalking, that will render different text. For this, I am using an if […]
Cleaner way to write ReactJS component
Problem My code is as follows : import React, {PropTypes} from ‘react’; import ReactCSSTransitionGroup from ‘react-addons-css-transition-group’; import { filter_names } […]
Filtered table in React.js
Problem I am doing a filtered table in react, and I came up with the following code: import React from […]
Form validation for multiple inputs
Problem I created an example of a simple form for multiple inputs (name and phone number) in React. If the […]