React links time! ⚛️ Super easy magic-move transitions ⚛️ Virtual DOM explained…

  • Wrap any element (not just images) in a component.
  • Add the same to create a transition between the elements.
  • A transition is made when an component is unmounted and another is mounted not later than 100ms.
  • The transition is made by cloning the unmounted and mounted components, adding them with position and CSS transformed from the source to the target position.

GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.
Continue reading “React links time!

⚛️ Super easy magic-move transitions

⚛️ Virtual DOM explained…”

Our full lineup is here! 🎉 – React Day Berlin – Medium

We've picked our Lightning Talks 🌩 and the full lineup is now officially finalized:  #ReactJS

  • Our full lineup is here! 🎉Come to React Day Berlin and enjoy a day packed with talks about modern techDecember 2, React Day Berlin’s date, is getting closer every day and we’re proud to announce that our lineup has officially been finalized.If you like what you see, there’s still some time left…
  • In this talk, we’ll discuss how the language we use affects our users and the first steps towards writing use case-driven, accessible docs.Add powerful components to your React appsOlga Petrova (Sencha, Germany)In this presentation, you will learn how you can add powerful components to your React apps.
  • You can now utilize a grid, treegrid, pivot grid, calendar, charts, and other components in your React based apps with very little effort.
  • Learn how you can build data-intensive, cross platform applications using React and powerful components from commercial libraries.Jest and Enzyme complement each otherManjula Dube (Bookmyshow, India)Manjula will talk about some myths on Jest Enzyme and explain why the comparisons of Jest and Enzyme don’t make sense.
  • Instead, the talk will focus on how they can work together to test your React Components in a better way.

December 2, React Day Berlin’s date, is getting closer every day and we’re proud to announce that our lineup has officially been finalized. If you like what you see, there’s still some time left to…
Continue reading “Our full lineup is here! 🎉 – React Day Berlin – Medium”

React Alicante 2017 #ReactAlicante #React.js #JavaScript

React Alicante 2017 #ReactAlicante #React.js #JavaScript

  • With an attendance of over 250 and a wide range of the latest and greatest from the React world, React Alicante delivered some interesting topics ranging from React Native all the way to GraphQL.
  • While I really do see the value in documenting your React components for large scale projects I can also see its value being diminished somewhat for smaller scale projects as the time spent building a system of UI documentation with Storybook while also having to write tests specifically for that…
  • Possibly one the most interesting talks at the conference was by Nikolas Burk, His talk (Building a realtime chat app with GraphQL) was extremely engaging.
  • A talk by Erik Rasmussen labelled A practical guide to Redux Form was very interesting and made me rethink my current system of form validation using React and Redux.
  • Erik is the creator of Redux Form and he outlined how this library provides an easier way to manage the various state changes of a dynamic form.

Last weekend I attended React Alicante. Its the first of its type set in Spain’s southeastern Costa Blanca. It delivered some interesting topics ranging from
Continue reading “React Alicante 2017 #ReactAlicante #React.js #JavaScript”

Two to ReactJS – Rajat Patwa – Medium

Two to ReactJS  #javascript #react #reactjs

  • Two to ReactJSOkay so let’s React…React fastReact docs describes React like this.A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACESWell!
  • Go through these two videosStep #3 (Optional)Let’s dive into reacting with this super tutorial on YouTube.Step #4React’s documentation(quick start guide) is the perfect place to start learning React.
  • Its sort and sweet and React has one of the best documentation out there.
  • Complete this Quick start guide: #5Build a small(or large, your wish :D) react app and comment GitHub URL of your app in the comments.Advanced React.JSAfter doing quick start guide and building one or two React apps lets learn more advanced features and internals of react.step #6Learn what is Reconciliation in react and how it works here.
  • Look into my eyes and say “I am the master of React”Bye-bye… See ya!

Well! you know JavaScript. Let’s get your hands dirty with ReactJS. This article will guide through a road-map of resources from basic to advanced React. React’s documentation(quick start guide) is…
Continue reading “Two to ReactJS – Rajat Patwa – Medium”

Thinking in React by radubrehar #javascript #reactjs via JavaScriptKicks

  • Yet the render method, the component props, and the component state are the most important things in a React app – getting a good grasp on these paves the way for productively using React in commercial apps.
  • In the above example, notice how state is updated with a new address object on every change – this avoids skipping updates when is used – which is just a React component that only re-renders when it receives new values for props and for state (it shallowly compares the old and new props objects and the old and new state objects).
  • Another powerful concept in React apps is controlled props – it basically means components don’t store any intermediate state for the controlled props (for example on updating the value inside a text input), but rather on every change, they notify the owner component of the change, so the owner can re-render the controlled component with updated values for the props.
  • The above inputs are example of controlled components (already baked into React), but basically this is the gist: uncontrolled components use their internal state to update their UI, while controlled components always show values from props.
  • And the beauty of it is that in almost no time you can become productive in building native UIs for mobile or desktop operating systems, or even for the webVR now that React is becoming widely adopted, with libraries written to target multiple platforms, but with one common way of thinking about UIs – declarative and component-based.

React is different in so many ways from its front-end predecessors. But the most different part is its way of thinking. Read on to find out more!
Continue reading “Thinking in React by radubrehar #javascript #reactjs via JavaScriptKicks”

ReactJs the simple way – Reduce boilerplate code and enjoy React

#reactjs the simple way – Reduce boilerplate code and enjoy React!

  • It contains actions to update the state, stores to hold it and a dispatcher to coordinate the changes, but the truth is that the important statement of flux is the unidirectional data flow: When the state is updated, the application is re-rendered reactively, so it is the state who rules the application.
  • Flux definition, including stores, actions and a dispatcher, usually explains the unidirectional data flow in a more complex way that it should.
  • It’s a data structure that triggers events when it is updated, and it happens to contain all the needed to add the unidirectional data flow to your app.
  • Every time the state is updated, Freezer create a new immutable object for it reusing the unmodified parts of the data tree.
  • Let’s see the code of the todo update reaction:

    You might be thinking that having the input values outside the components will re-render your whole app every time the user types.

ReactJs the simple way – Reduce boilerplate code and enjoy React
Continue reading “ReactJs the simple way – Reduce boilerplate code and enjoy React”

Playing with D3 Version 4, React, React-Motion – Chris Roth – Medium

Playing with D3 Version 4, #reactjs, React-Motion – Medium

  • We just set up a component with an svg container.
  • Live Example (sorry, direct links to the examples are currently broken)
  • Example 3: An animated path using react-motion
  • All three examples provide different findings, see summary at the bottom.
  • The example provides a way to animate the graphs in React.

Here we present 3 examples, combining the power of the new d3 Version 4 modules and React (and React-Motion, and Redux). Based on the new d3 modules by Mike Bostock, we wanted to find out a bit about…
Continue reading “Playing with D3 Version 4, React, React-Motion – Chris Roth – Medium”

React.js Forms: Controlled Components

#ReactJS Forms: Controlled Components

  • ) form so you can see how child components update the parent component’s state, and how the parent then updates the child component via props ( unidirectional data flow ).
  • The array of letters is joined again, and the new string is set to component state.
  • All of the form element components in this post are pure functional components.
  • Regular, or dumb, components receive data from their parent (container) component.
  • The component is very similar to the components covered already.

This tutorial covers controlled form components, and best practices like immutability and unidirectional data flow. There’re plenty of examples to borrow and tweak for use in your own projects.
Continue reading “React.js Forms: Controlled Components”

ReactNL conference 2016

  • create custom React components
  • In the training we’ll take a different approach.
  • The training modules are connected linearly, providing a smooth path to learn React.
  • When you’re done with the training you’ll end up with a fully functional React app.
  • React is a UI library, but there is a vast ecosystem of libraries around React to help you creating applications.

ReactNL is a one-day, multi-track ReactJS conference in The Netherlands bringing top speakers, quality food, entertainment and professional training.
Continue reading “ReactNL conference 2016”

GraphQL with the Serverless Framework

  • These two libraries form the core of the Web client for this project.
  • The Lambda function retrieves data from DynamoDB and returns it to the client via API Gateway.
  • There are already great libraries for retrieving data from GraphQL endpoints.
  • Letting the client choose what data to fetch is more efficient and flexible.
  • GraphQL allows the client to select ad-hoc data.

Building a dashboard for my garden
Continue reading “GraphQL with the Serverless Framework”