So @iamraphson built an amazing ReactJS Library for @theflutterwave Rave, you can check it out at .

  • Why not share the link for this repository on Twitter or Any Social Media?
  • Don’t forget to follow me on twitter!

This is a reactJS library for implementing rave payment gateway
Continue reading “So @iamraphson built an amazing ReactJS Library for @theflutterwave Rave, you can check it out at .”

React Top 10 Articles For the Past Month (v.Oct 2017)

React Top 10 Articles For the Past Month (v.Oct 2017). @reactjs #JavaScript

  • React Top 10 Articles For the Past Month (v.Oct 2017)For the past month, we’ve ranked nearly 1,200 React articles to pick the Top 10 stories that can help advance your career.
  • (0.8% chance to be picked in the list)Topics in this list: Progressive Web App, Preact, Redux, Server Side Rendering, Structure, GraphQL, AWS, Component, AnimationOpen source of the month is included at the end.Top 10 for JavaScript, Node, Angular are posted separately in the publicationMybridge AI ranks articles based on the…
  • This is a competitive list and you’ll find the experience and techniques shared by the React leaders useful.A React And Preact Progressive Web App Performance Case Study: Treebo.

For the past month, we’ve ranked nearly 1,200 React articles to pick the Top 10 stories that can help advance your career. (0.8% chance to be picked in the list)
Continue reading “React Top 10 Articles For the Past Month (v.Oct 2017)”

react-props-monitor now too with #react16 #reactjs #styledcomponents 😎

react-props-monitor now too with #react16 #reactjs #styledcomponents 😎

  • In-depth checking props in runtime for any React app.
  • PropsMonitor displays exactly which props caused the error based on PropTypes of component.
  • You can define any validation function for props, based on prevProps, nextProps and name of component.
  • ({ nextProps }) { ( . )
  • ; ; }; ({ prevProps, nextProps, name }) { ( name prevProps .

react-props-monitor – In-depth checking props in runtime for any React app.
Continue reading “react-props-monitor now too with #react16 #reactjs #styledcomponents 😎”

Case study of SSR with React in a large e-commerce app – Jakob Lind

Case study of SSR with React in a large e-commerce app  #ReactJS

  • In this case study you will learn: – – In this case study, I present how we have implemented SSR (server side rendering) with React in an e-commerce application for one of Norway’s largest telco brands Telia.
  • What we have learned over the 3 years we have worked with the app is that keeping things simple helps a lot when implementing and maintaining an SSR solution.
  • The theory of SSR is pretty simple: you just render your React components on the backend and send the generated HTML to the client.
  • We create our Redux store with the initialState on the backend like this: – – The initialState variable is also sent to the frontend in a global variable so that the client side app gets the exact same state prefetched.
  • Here are some examples of variables that we guard against on server side: – – The process for knowing when to add the guard is something like: – – We are also careful to only use dependencies that work with SSR.

Setting up SSR (server side rendering) with React is painful. There is no good overview or starting point. Instead, you have to gather pieces of information from googling and do your best to puzzle them together.
Continue reading “Case study of SSR with React in a large e-commerce app – Jakob Lind”

Setup React with webpack 3, babel and NPM – Jakob Lind

How to setup React with webpack 3, babel and NPM  #reactjs #javascript

  • To get started with React you have to learn and configure NPM, webpack, babel AND React.
  • You have probably heard of create-react-app (CRA) which is an official tool to start a new React project.
  • Next, we are going to create our minimal React app and HTML file.
  • Our webpack config file looks like this: – – It contains the following: – – Babel is a highly configurable tool to transpile JavaScript.
  • Our webpack config uses babel-loader to run babel which uses the regular babel config file.

A few years ago jQuery was the best practice for Javascript/frontend development. Getting started with jQuery was as simple as creating an index.html document, include jQuery and start writing code.
Continue reading “Setup React with webpack 3, babel and NPM – Jakob Lind”

Crawling Websites in React-Native

  • Normally you would have to set up a server that crawls the target website and turns it into an API that you can use, but when you can access all data from all websites inside your client, you can save time.
  • You want to show all products of a page and a way to load the next, but you want it in our own data structure, so you can build your own UI around it.
  • The data is inside the HTML, but it’s a string.
  • The naive approach would be to use a regular expression to parse the string and get the data, but HTML doesn’t have a regular grammar so that wouldn’t work.
  • After the data has been extracted from the HTML, we can start to reshape it for our use-cases.

From the dev.to() community. Sharing ideas that makes us all better developers.
Continue reading “Crawling Websites in React-Native”

Architecting a Squiggle – Birchbox Unboxed

Architecting a Squiggle  #react #components #css #reactjs

  • It looked like this, and was used to visually emphasize key words or numbers in a block of text.A SquiggleWith the assumption that this coral squiggle would be used only sporadically on a few key pages, we uploaded an image of the squiggle to our CDN and set it as…
  • Our new site, which was built in React, encouraged a component based approach.I created a Squiggle component (later renamed Highlight when it supported shapes other than squiggles) that wrapped any arbitrary content.
  • It accepted props for color, type, and alignment with respect to its content.Highlight type=’wave’ fill=’coral’ alignment=’right’ {title}/HighlightThe component used react-measure to listen to the height of if its children and record it in the component state.
  • ‘wave’ : ‘none’} fill=’coral’ alignment=’right’ {title}/HighlightAn example of conditional highlighting, made possible by the ‘none’ shapeRecently one of my teammates built support for Highlight in our custom Markdown component.
  • No developer time required!This tout was built by our web production team using only Markdown in the CMSWhy I Love itHighlight is one of my favorite components in the Birchbox repository because it makes highlighting text on our site as easy and therapeutically pleasing as highlighting text on a physical page.

When Birchbox rebranded in 2016, our new brand guide included a squiggle. It looked like this, and was used to visually emphasize key words or numbers in a block of text. With the assumption that…
Continue reading “Architecting a Squiggle – Birchbox Unboxed”