Building a Wizard / Workflow in React – Entelo Engineering

Building a Wizard / Workflow in React  #react #reactjs #tutorial #reactjs

  • Here are just a few examples:User Registration with multiple formsBreaking large forms into smaller stepsE-commerce checkout flowMulti-page surveysI’ve had previous experiences building out a checkout flow for e-commerce companies, but this was the first time I had to build a workflow using React.Here is the design and the approach I…
  • Finally, we end the workflow with a confirmation page.Each step of the workflow is a separate route we will define in our routes file when using react-router.
  • As we navigate from one step to the next, we will advance the progress bar along with rendering a new container with the next step’s contents.Choosing a Progress BarFor the progress bar, we decided to use the libraryThis is a very simple progress bar and the API is straightforward.
  • Below are some examples of what the progress bar looks like as we move from one step to the next.First StepNext Step to show progression in the workflowFinal StepReact RouterSet up the route to determine what step of the flow we are in.Route path=”jobs/:id/:step” /The id and step will be passed…
  • In the component, we will create a switch case statement to determine what component to render.switch (step) { case (‘description’): return (DescriptionContainer /); case (‘criteria’): return (CriteriaContainer /); …}We also use this stepvalue to calculate the progress bar distance and what progress label should be bold.ContainersWe have a series of…

One of my first tasks at Entelo was to work on a greenfield project that involved a step-by-step wizard. Workflows/wizards are useful when you want the end-user to complete a series of steps. (I’ll…
Continue reading “Building a Wizard / Workflow in React – Entelo Engineering”

ReactJS Authentication Tutorial, Part 2

ReactJS Authentication Tutorial, Part 2  #web_dev #front_end #cli #reactjs #Programming

  • The component is pulling data from an API, so it needs a way of holding that data.
  • In the constructor, we define the initial state as seen in the code below:

    In the method, we call the method we exported from the helper file and set state as seen below:

    Now, we took advantage of one of the ReactJS lifecycle hooks, .

  • So, we invoked the method in the hook as seen below:

    All we are trying to do is tell ReactJS to load the data from the API immediately when the component gets rendered.

  • Finally, we rendered the component with the ReactJS method.
  • This renders the root component in the div, which is the starting point of our ReactJS application.

We continue our series on creating an authenticated ReactJS application by looking at how to setup our front-end with the help of Facebook’s CLI tool.
Continue reading “ReactJS Authentication Tutorial, Part 2”

Introduction – Developing a native mobile app with React-Native and Typescript – Medium

Introduction  #typescript #javascript #react #reactnative

  • We decided on developing a mobile app with react-native just because the idea of developing a native mobile app with javascript felt very exciting.We also thought of using Typescript with React because we feel it not only just brings type-safety to the javascript code but in-fact brings all the advantages of object-oriented programming allowing us to think javascript code in terms of some well-established design patterns and standards that help us design highly scalable code.
  • The goodies it brings — abstract and concrete classes, types, interface, enums are hard to resist.As we started on the development of the app, I thought it would be a good idea to put our learnings here in a series as it not only will help us document our tasks but would also help other react-native learners and developers.In this series, we will document step-by-step each task that we work on during the development of this app, right from the initial project set-up to its final implementation and release to the app store.What app we are going to developThe app we would be developing would be a simple photo albums app, where user can create an album and add photos to its from his/her mobile.Tech-stack to be usedUI using react-native + TypescriptStorage — Azure DocumentDBREST API using node.js, Azure DocumentDB Node APIAuthentication — oAuth (Facebook and Google)Targeted platformsIn its first version, we are planning to target only Android platform simply because couple of us in the team don’t own a Mac Book and apple doesn’t allow to develop iOS apps from any other operating system.Github RepoOur LimitationsWe are all learners of react/react-native, also this being a side project that we all will work on in our spare time, we are anticipating the project to go on a bit slow pace.Functional Testing — we don’t have a QE Automation expert in our team yet, so for most of its part Functional testing would be manual3.
  • Environment — for the UI app, we will use emulators on our local system to test our code.
  • Being a mobile app, it would be released to Android Playstore and thus we don’t need to maintain any servers for the UI app4.
  • So stay tuned, more stories to come soonInterested in joining us in this wonderful journey?we’ll be glad to have you in our team, pls email to us at with a little bit about yourself

Couple of weeks back, I and some of my friends, started on a side/hobby project to learn reactJS. We decided on developing a mobile app with react-native just because the idea of developing a native…
Continue reading “Introduction – Developing a native mobile app with React-Native and Typescript – Medium”

What is Reactive Programming? – Qlik Branch

What is Reactive Programming?  #ReactJS #JavaScript

  • While an interaction like this one seems simple at first, as more and more dynamic pieces are added to an app, the logic for defining state and mapping to rendering can become twisted and convoluted.This dependency nest can produce code that’s difficult to reason about, code, and maintain overtime with imperative coding.Enter reactive programming.Reactive programming is an approach that models data that changes over time.
  • It is a value that changes over time, based on its source changing over time, rather than a value declared once.Now chances are, you already have done reactive programming like the previous example.
  • It turns out, Microsoft Excel is a reactive programming interface!b = a + 1, in ExcelThe value in this type of programming is that you can write logical code to define the relationships between changing entities over time.
  • These relationships are compose-able and can be defined synchronously, making it easy to interpret, support, and expand the logic over time.Visualizing with MarblesIn order to reason about the logic defining these changing values over time, reactive programmers often use what are called marble diagrams to show how a value changes over time based on other values.
  • Our b = a + 1 example in a marble diagram might look like so:Marble diagram for b = a + 1A more practical example is event listeners, another way in which you have probably already used reactive programming concepts.

When building interactive web applications, the complexity of an app’s logic can grow unwieldy as the app grows in scope. A lot of this complexity is owed to a continuously morphing state. When we…
Continue reading “What is Reactive Programming? – Qlik Branch”

React Native animations revisited — Part I – Blog @

#ReactJS Native animations revisited — Part I:  by @michal_chudziak #JavaScript

  • The function takes one argument which is config object.
  • { duration: 700 , create: { type: ‘linear’, property: ‘opacity’, }, update: { type: ‘spring’, springDamping: 0.4 , property: ‘scaleXY’, }, delete: { type: ‘linear’, property: ‘opacity’, }, }
  • You customize things like duration, or differences between create and update animations within your config object.
  • Never miss a story from Blog @ , when you sign up for Medium.
  • It allows us to customize duration, and behaviour of create, update, and delete animations.

Almost every modern app contains dynamic UI elements. When it comes to animating React Native components, platform gives us many useful APIs. Animations are something what can be quite confusing for…
Continue reading “React Native animations revisited — Part I – Blog @”

Mobile SDK

DreamHouse sample app built with Salesforce Mobile SDK and React Native  #df16 #devkeynote

  • The source code for the React Native version of the application is available in this repository on GitHub.
  • The Mobile SDK provides a series of services that facilitate the development of mobile apps on the Salesforce platform.
  • The Salesforce Mobile SDK allows you to build entirely custom mobile applications on the Salesforce platform.
  • In the DreamHouse sample application, the customer facing app was built with the Mobile SDK to help prospective buyers find their dream house using a branded, engaging and innovative mobile experience.

The Salesforce Mobile SDK allows you to build entirely custom mobile applications on the Salesforce platform. It is available for the following mobile environments:
Continue reading “Mobile SDK”

Learning Flux and React.js

Learning Flux and React.js - Part 1 #ReactJS

  • Thread #C# Multithreaded Programming #C# Network Programming #game development #business #game dev #game design ##GameDev #GameDesign #Business #Simple #Easy #Computer Science (Field Of Study) #Tutorial (Media Genre) #Ruby On Rails (Software) #Ruby (Programming Language) #Database (Software Genre) #Windows App Development #iOS App Development #Android App Development #iPad App Development #iPhone App Development #google login #twitter login #facebook login #symfony 3 #symfony #symfony3 #fosuserbundle #Software Development (Industry) #Training (Industry) #PHP (Programming Language) #Symfony (Software) #design prototyping #designers who code #graphic designer #designer who codes #graphic design #design #code editing #workflow #programming help #programming
  • #linux videos #Linux tutorials for beginners #Linux Tutorials #working with access control lists #setting up filesystem acl #linux acl mask #Linux ACL Example #linux acl permissions #what is acl in linux #ACL linux tutorial #Setting up ACL in linux #Access Control Lists in linux #How to configure Access Control Lists (ACLs) on Linux #Access Control Lists #games #Manuales #phaser #Tutoriales #Aprender #Hojas de estilo #Aprender HTML5 #CSS3 #Cascading Style Sheet #CSS #HTML #Javascript #Programación Web #Development #User-Centered Design #UX #Diseño Web #Desarrollo Web #Web Design #Web Development #Web Technologies #HTML5 #HTML5 Spain #java programming #javascript development #js #dynamics crm #node js programming #node js development #nodejs ##hoa #Hangouts On Air
  • In the series we will take an in depth look at how to structure a Flux/React.js application.
  • Share around anything related to programming including Java, JavaScript, PHP, C/C++, .Net, Node.js, Python, Ruby, iOS, Android, Database, Shell Scripting, UI/UX and more…

Read the full article, click here.

@reactjs_fan: “Learning Flux and React.js – Part 1 #ReactJS

Learning Flux and React.js