Boost Your User Experience with Lottie for React Native

Check it out:   #reactsharing #UX #Lottie #reactnative #tuts

  • Boost Your User Experience with Lottie for React NativeThis is a technical post about Lottie for React Native — a mobile library for animating your user interface and telling the user stories from a whole new perspective.What is it all about Lottie?Lottie is a library for mobile devices that offers for the team a…
  • And we can always do GIF animations, right?But, as an experienced React Native and mobile developer, I can claim that none of these choices are able to offer you the same look feel that Lottie can.
  • The performance, all the available resources and the proud feeling your team‘s designers will reach with Lottie is the main reason I’m now writing this post.How to Get Started with Lottie for React Native?Either: npm i –save lottie-react-nativeOr: yarn add lottie-react-nativeAfter this, we need to link Lottie on our RN project:react-native…
  • It’s a simple check mark for use cases when the app has successfully completed a user’s action: like really that animation: it’s simple, self explanatory and it also gives a brief glimpse of what can be done with After Effects for Lottie.
  • Also, on Android devices some animations may freeze or be malformed from the original one.So, try to find a balance between using of Animated API and Lottie.

This is a technical post about Lottie for React Native — a mobile library for animating your user interface and telling the user stories from a whole new perspective. Lottie is a library for mobile…
Continue reading “Boost Your User Experience with Lottie for React Native”

Apache Foundation and Facebook in Standoff Over React.js License

  • It started on July 15 when the Apache Foundation’s legal affairs director, Chris Mattmann, made a comment to a thread on a discussion board that began two months discussing a little quirk that had been found in the wording of Facebook’s open source BSD-plus-Patents license.
  • The “offending” license, loosely called BSD+Patents, is Facebook’s own open source license, which is pretty much a copy of another popular open source license, the BSD 3-clause license, the later being compatible with Apache and most other “permissive” licenses.
  • “Facebook’s license is basically BSD3 with the patents conditions ‘tacked’ on,'” Jim Jagielski, former president and current board member of the Apache Foundation explained to IT Pro.
  • In a blog post from July, Bruce Perens, the main author of The Open Source Definition and co-founder of the Open Source Initiative, explained the problem in more detail:

    The widespread use of code from Facebook maintained React.js, a popular developer tool for building interfaces with JavaScript, is the reason why this issue is particularly problematic for Apache.

  • Perhaps more damage will come from large corporations with considerable patent portfolios that have integrated Facebook’s open source projects into their own data centers.

So far neither side has blinked in a standoff that most likely hasn’t ended yet.
Continue reading “Apache Foundation and Facebook in Standoff Over React.js License”

‘REACT.JS’ — WHERE AND WHY TO USE IT? – Cubet Techno Labs – Medium

‘REACT.JS’ — WHERE AND WHY TO USE IT? @nodejs #NodeJS #webdev #javascript #reactjs @reactjs

  • One such example is when Code Academy adopted Facebook’s library, React JS to write JavaScript UIs , which lead to certain important discussion points regarding how React JS can be put to good use in case of larger and complex applications similar to Code Academy.What is React?Simply put, React is a UI library created at Facebook to cater the development of interactive and reusable UI components.
  • One of the USPs of React is that it can perform both on client side and rendered server side and also can work together.React is intended to make the overall process of building reusable, modular, user interface components intuitive and simple.
  • In place of the traditional approach of writing user interfaces, it treats every UI (User Interface) element as a contained state machine.Why use React for larger applications?React is very a lightweight and simple library which only deals with view layer.
  • You should think over the possible performance issues when you build a web application which has a higher user interaction and view updates.
  • React is expressively more SEO friendly than other JavaScript MVC frameworks since it is based on the virtual DOM.The Bottom LineReact is a powerful, lightweight, battle-tested library to build user interfaces with JavaScript.

The Web has gone far too long since HTML5 first came into the picture and people started observing JavaScript as a language which could be used for building complex apps. Most of the APIs have…
Continue reading “‘REACT.JS’ — WHERE AND WHY TO USE IT? – Cubet Techno Labs – Medium”

Building User Interfaces with Pure Functions and Function Composition in React

Build user interfaces with pure functions and function composition in #ReactJS:  #JavaScript

  • This idea is so important in React that React 0.14 introduced Stateless Functional Components which allows the code above to be written as normal functions (and which we’ll cover more in depth later in the course).
  • Perhaps one of my favorite things about React is it’s given me a light introduction to functional programming (FP) and a fundamental piece of FP are pure functions.
  • splice is not a pure function since each time we invoke it passing in the same arguments, we get a different result.
  • Well the main reason is React’s render method needs to be a pure function and because it’s a pure function, all of the benefits of pure functions now apply to your UI as well.
  • Another reason is that it’s a good idea to get used to making your functions pure and pushing “side effects” to the boundaries of your program.

👋 I’m Tyler. I’m a Google Developer Expert and a partner at React Training where we teach React online, in person, and build OSS like React Router.
Continue reading “Building User Interfaces with Pure Functions and Function Composition in React”