Announcing ReForm: Making forms sound good again with ReasonReact

Announcing ReForm: Making forms sound good again with ReasonReact

☞ 

#Reactjs #javascript

  • Announcing ReForm: Making forms sound good again with ReasonReactReForm short demo, check the source out at are really complex beasts and can scale to total chaos really quickly if you don’t know how to manage all those field states and validations altogether.
  • The nicest solution in React world is to lift the state of the form to some other component, which will take care, protect and give love to your form state.
  • In ReactJS there is a nice amount of solutions for dealing with form data management (Formik, Redux Forms, etc).
  • One of the first things I wanted to try to unleash the power of Reason’s type system was in forms, that’s why we developed ReForm.
  • ReForm still on its early stages and certainly still there is a lot to improve from community suggestions, but we are already loving to deal with its thin API using it for both web and native worlds with React Native.

Forms are really complex beasts and can scale to total chaos really quickly if you don’t know how to manage all those field states and validations altogether. The nicest solution in React world is to…
Continue reading “Announcing ReForm: Making forms sound good again with ReasonReact”

Why is It Better to Use ReactJS over Others? – Aglowid It Solutions

Why is It Better to Use ReactJS over Others? 



#reactjs #ReactNative #React

  • If you hire ReactJS developer, they will not only create ultra-fast user interfaces but also with a simple Chrome extension, they can debug the codes.
  • Another advantage of using ReactJS development services is JSX.
  • Simply, JSX lets developers mix JavaScript and  HTML; with JSXTransformers, ReactJS turns all HTML tags into functions.
  • React-Native, also developed by Facebook in 2015 follows the footsteps of ReactJS to develop mobile applications for iOS, Android, and other platforms.
  • ReactJS with its Virtual DOM renders web pages on the server itself; and then sends it to the browser thereby making it easier for search engines.

React or ReactJS developed by Facebook back in 2013 is a JavaScript library that creates web interfaces which can change without a user reloading the page. If you hire ReactJS developer, they will not only create ultra-fast user interfaces but also with a simple Chrome extension, they can debug the codes. One of the prime…
Continue reading “Why is It Better to Use ReactJS over Others? – Aglowid It Solutions”

How to write a HOC (in 3 easy steps).

Simplest definition of HOC in #reactjs  #javascript #hoc #highordercomponent

  • If you find yourself doing this a lot, you should look for ways to reuse code and solutions that are similar.
  • When it mounts, it fires an xhr request to fetch a user’s details, and then displays them: – – Let’s design another similar component for fetching and displaying a list of tweets.
  • This one will do the same thing: when it mounts, it fires an xhr request to fetch some tweets, and then displays them: – – These two components are very similar; they fetch some data, and then display it, showing a ‘loading’ view while the request is loading.
  • Let’s take the common elements, and put them into a function: – – Now that we have the similar code in a function, let’s make the different code (the url and view) parameters of that function: – – (Notice how we pass the data down to the view).
  • Now, let’s re-implement our two components using this shiny new HOC: – – We’ve cut out a ton of our code duplication, making our solutions simpler and easier to manage.

Learn how to write a Higher Order Component for React in 3 easy steps.
Continue reading “How to write a HOC (in 3 easy steps).”

We’re looking for a Full Stack Developer to join our team. Check the full description here …

  • We work with modern and proven technologies, at competitive rates, focused on quality, but with a wider purpose in mind: The customer goals!
  • Learn more about our services and technologies we work with.
  • In this position you’ll apply your HTML5 / CSS3 / JS skills and learn top modern web technologies such as NodeJS, Express, ReactJS, Redux, Webpack, etc and some of React Native to built Mobile Applications.
  • You will work on Front-End and Back-End tasks to build top-notch products, we look for talented people who want to solve problems for our customers with a good attitude and striving for the quality of their work.
  • We have a lot of exciting projects in the pipeline, so if you want to be part of one of them keep reading and drop us a line.

Do you need software solutions? We can help you!
Continue reading “We’re looking for a Full Stack Developer to join our team. Check the full description here …”

Rails, React and me – codeburst

  • It uses rails to include only JS and Webpack compiled files which was perfect match for the use case.Figuring solutions is always easy, The difficult part is to figure out the problemReact_on_rails has given the instructions to setup existing rails project so I started with them but ran into many…
  • In this particular case, figuring out the problem became worse as the errors were misleading.The Aha Moment: Devil was in the detailsFinally to figure out the problem I created a sample project from scratch using react_on_rails new project setup instructions and started comparing the generated code with my existing project.
  • This particular information turned out to be crucial to get out of the problem I was facing which I was not aware of at that time.SolutionTo solve this issue just change your API controller to base controller.
  • Though I would suggest to convert your entire rails-5 api only app to normal rails app.
  • Once you have resolved everything run$bundle installThis will convert your rails-5 API only app to rails app which can easily be integrated with react_on_rails.

Integration of react and rails using react_on_rails gem in an existing rails-5 api only project
Continue reading “Rails, React and me – codeburst”

Need help with a #WordPress, #Reactjs, or #Laravel project? I’ve got availability starting this month.

  • AxelumTech is a custom web software development firm specializing in web-based applications and services.
  • When you work with AxelumTech, you get a partner with the experience your business needs.
  • AxelumTech takes the time to understand the challenges your business faces and builds its strategy around that understanding.
  • Software built by AxelumTech is crafted to meet rigorous standards of security, performance, and usability.
  • Once your solution has made it to market, AxelumTech wants to be there with you every step of the way.

You don’t need another code slinger. You need somebody who takes the time to understand the challenges your business faces. You need solutions tailored to your business’ needs. You need AxelumTech.
Continue reading “Need help with a #WordPress, #Reactjs, or #Laravel project? I’ve got availability starting this month.”

webpack optimization — A Case Study – WalmartLabs – Medium

  • However, after going through webpack’s docs and code, there didn’t seem to be an easy way to disable that with a single switch.
  • I opened an issue here and after some discussion with webpack’s Tobias Koppers, we settled on allowing webpack’s node option to accept a false config.With NodeSourcePlugin disabled, our code that depend on it all failed and I was able to pinpoint among our hundreds of components, which one to look into.I found out that a few components that have server side only behavior implemented it through the runtime flag provided by exenv, like this:import { canUseDOM } from “exenv”function foo() { if (!
  • canUseDOM) { const crypto = require(“crypto”) // do something with crypto }}The idea is simple, if code is not executing on the browser, then do something on the server side only using the crypto module.
  • Unfortunately, webpack only does static analysis to find out what code needs to be bundled.
  • That means NodeJS crypto is included even though it’s only needed for server side.

Since we open sourced part of the Electrode platform from @WalmartLabs, we’ve had a lot of contributions to our NodeJS and ReactJS archetype modules, including bug fixes, new features, and updating…
Continue reading “webpack optimization — A Case Study – WalmartLabs – Medium”

React: Load Global JavaScript Library with Webpack – Xiao Ling – Medium

React: Load Global JavaScript Library with Webpack  #react #javascript #webpack #reactjs

  • React: Load Global JavaScript Library with WebpackWhen using React and Dynamic Web TWAIN to create a web document scanning app, I was confused about how to load dynamsoft.webtwain.min.js, a global JavaScript library like jQuery, into my project.
  • In this article, I will share not only the solutions but also the issues I met.Three Ways to Import Global JavaScript Libraries into React ProjectComparing to Angular, loading global JavaScript library is more tricky in React.Insert JS link into HTML script elementWebpack is just a module bundler that packs all modules with dependencies into one bundle, which is still a JavaScript file.
  • According to the React component lifecycle, we can write the code in method {var script = = approach is not suitable for loading a local JavaScript library file.Manually export moduleTo load a module in JavaScript, we can use require().
  • The reason is dynamsoft.webtwain.min.js is a global JavaScript library, not a module.
  • Only exported modules are accessible.To make the code work, we can add ‘module.exports = Dynamsoft’ to the bottom of and then rebuild the React project.The variable ‘Dynamsoft’ makes sense now.Configure webpack.config.jsThe above approach which changes the original JavaScript library is apparently not good.

When using React and Dynamic Web TWAIN to create a web document scanning app, I was confused about how to load dynamsoft.webtwain.min.js, a global JavaScript library like jQuery, into my project. I…
Continue reading “React: Load Global JavaScript Library with Webpack – Xiao Ling – Medium”

Image Caching in React Native

Image caching in React Native:

  • Image Caching in React Native
    Written by Dylan Vann08 May 2017

    Image loading is an important job of many Native applications for iOS and Android.

  • Image

    When writing apps with React Native you have access to the built-in Image component.

  • Image usage:

    Image source={{ uri: }} /

    React Native’s Image component handles image caching like browsers for the most part.

  • FastImage

    To solve these issues, I developed a new image component for React Native.

  • FastImage is a performant replacement for React Native’s Image component
    that more aggressively caches images.

Image loading is an important job of many Native applications for iOS and Android.
We want to load images as quickly as possible, and to load them only once.
Continue reading “Image Caching in React Native”

Introduction · Front-end Developer Handbook 2017

Front-End Developer Handbook 2017.

Courtesy of @codylindley #JavaScript #ReactJS

  • Part one broadly describes the practice of front-end engineering.
  • It broadly outlines and discusses the practice of front-end engineering: how to learn it and what tools are used when practicing it in 2017.
  • Part two identifies self-directed and direct resources for learning to become a front-end developer.
  • The book should not be considered a comprehensive outline of all resources available to a front-end developer.
  • It is specifically written with the intention of being a professional resource for potential and currently practicing front-end developers to equip themselves with learning materials and development tools.

This is a guide that anyone could use to learn about the practice of front-end development. It broadly outlines and discusses the practice of front-end engineering: how to learn it and what tools are used when practicing it in 2017.
Continue reading “Introduction · Front-end Developer Handbook 2017”