ReactJS, React Native & GraphQL Newsletter: 66

#ReactJS #ReactNative #GraphQL Newsletter Issue 66

  • This week we improve our React performance, check out talks from GraphQL Summit, use React Native on iPhone X,  take a look at the best Black Friday developer tutorials at the lowest prices and much more!
  • A review of common React performance pitfalls and how to avoid them – – 30 talks with new tech, production stories, and GraphQL advice – – Our Experience with Creating Reusable Functional Components with React, Redux, and Redux-Loop.
  • Learn to Use Visual Studio App Center to Automatically Build and Distribute Your React Native App – – “What do you know about Dependency Injection?”
  • That’s it for the newest edition of the best ReactJS, React Native & GraphQL Newsletter!
  • Like & follow for all the news about ReactJS, React Native & GraphQL!

Black Friday! 
This week we improve our React performance, check out talks from GraphQL Summit, use React Native on iPhone X,  take a look at the best Black Friday developer tutorials at the lowest prices and much more!
Continue reading “ReactJS, React Native & GraphQL Newsletter: 66”

Gift of Code Sale! With up to 93% off! Learn to code this holiday season!

#ReactJS #ReactNative #GraphQL Newsletter Issue 66

  • This week we improve our React performance, check out talks from GraphQL Summit, use React Native on iPhone X,  take a look at the best Black Friday developer tutorials at the lowest prices and much more!
  • A review of common React performance pitfalls and how to avoid them – – 30 talks with new tech, production stories, and GraphQL advice – – Our Experience with Creating Reusable Functional Components with React, Redux, and Redux-Loop.
  • Learn to Use Visual Studio App Center to Automatically Build and Distribute Your React Native App – – “What do you know about Dependency Injection?”
  • That’s it for the newest edition of the best ReactJS, React Native & GraphQL Newsletter!
  • Like & follow for all the news about ReactJS, React Native & GraphQL!

Black Friday! 
This week we improve our React performance, check out talks from GraphQL Summit, use React Native on iPhone X,  take a look at the best Black Friday developer tutorials at the lowest prices and much more!
Continue reading “Gift of Code Sale! With up to 93% off! Learn to code this holiday season!”

ReactJS, React Native & GraphQL Newsletter: 66

#ReactJS #ReactNative #GraphQL Newsletter Issue 66

  • This week we improve our React performance, check out talks from GraphQL Summit, use React Native on iPhone X,  take a look at the best Black Friday developer tutorials at the lowest prices and much more!
  • A review of common React performance pitfalls and how to avoid them – – 30 talks with new tech, production stories, and GraphQL advice – – Our Experience with Creating Reusable Functional Components with React, Redux, and Redux-Loop.
  • Learn to Use Visual Studio App Center to Automatically Build and Distribute Your React Native App – – “What do you know about Dependency Injection?”
  • That’s it for the newest edition of the best ReactJS, React Native & GraphQL Newsletter!
  • Like & follow for all the news about ReactJS, React Native & GraphQL!

Black Friday! 
This week we improve our React performance, check out talks from GraphQL Summit, use React Native on iPhone X,  take a look at the best Black Friday developer tutorials at the lowest prices and much more!
Continue reading “ReactJS, React Native & GraphQL Newsletter: 66”

Creating an Accessible React Website

Creating an Accessible #ReactJS Website:  via @dagda1 #JavaScript

  • The problem is that a newly server rendered page works great with a screen reader but when you change routes in an SPA, the screen reader does not know that there is new content.
  • With this higher order component in place, I can now add the correct labelling to any component such as the component previously described: – – The higher order component above takes care of displaying an error below each invalid field but a screen reader will not automatically pick this up…
  • Below is an exmple of such a validaion summary from gov.uk that I based our validation summary on: – – At first glance this is complete overkill for 2 fields but in the context of a screen reader, this is a great practice.
  • In the event of an error, focus is placed on the element in the component and a link is created for each validation error.
  • Below is a help container that expands and contracts when a link is clicked: – – A combination of , and are used to correctly instruct the screen reader that new content is toggled between visible and invisible states.

I’ve recently been working on an online application form in the form of a multistep wizard that had strict accessibility requirements. I’ …
Continue reading “Creating an Accessible React Website”

Creating an Accessible React Website

  • The problem is that a newly server rendered page works great with a screen reader but when you change routes in an SPA, the screen reader does not know that there is new content.
  • With this higher order component in place, I can now add the correct labelling to any component such as the component previously described: – – The higher order component above takes care of displaying an error below each invalid field but a screen reader will not automatically pick this up…
  • Below is an exmple of such a validaion summary from gov.uk that I based our validation summary on: – – At first glance this is complete overkill for 2 fields but in the context of a screen reader, this is a great practice.
  • In the event of an error, focus is placed on the element in the component and a link is created for each validation error.
  • Below is a help container that expands and contracts when a link is clicked: – – A combination of , and are used to correctly instruct the screen reader that new content is toggled between visible and invisible states.

I’ve recently been working on an online application form in the form of a multistep wizard that had strict accessibility requirements. I’ …
Continue reading “Creating an Accessible React Website”

React for Real: Front-End Code, Untangled by Ludovico Fischer

  • When traditional web development techniques don’t cut it, try React.
  • Use React to create highly interactive web pages faster and with fewer errors.
  • With a little JavaScript experience under your belt, you’ll be up and running in no time creating dynamic web applications.
  • Set up automated tests, and make pages render fast for your users.
  • See how to use your React skills to integrate with other front-end technologies when needed.

When traditional web development techniques don’t cut it, try React. Use React to create highly interactive web pages faster and with fewer errors. With a little JavaScript experience under your belt, you’ll be up and running in no time creating dynamic web applications. Craft isolated components that make your apps easier to develop and maintain, with plenty of guidance on best practices. Set up automated tests, and make pages render fast for your users. See how to use your React skills to integrate with other front-end technologies when needed.
Continue reading “React for Real: Front-End Code, Untangled by Ludovico Fischer”

Modern static site generation

  • There is this function called Server Side Rendering where you can produce static HTML content directly from a tree of React.js components.
  • At the time of reading this, this site will already be served by GitHub pages and the content you will see once you view the source it’s been generated by Gatsby.js.
  • Here’s my list:

    At the time that I started following them, all of them were in a very early stage and none of them could generate my site’s content the way I wanted and in the same way as my previous one so to not lose paths and certain functionalities.

  • Think of when you are caching the home page of a WordPress powered site and you are serving the cached content to every visitor.
  • Imagine that instead of having memcached caching your HTML in front of your WordPress site, you trigger a hook each time your database changes that will re-generate the frontend using Gatsby.

In this post, I will talk about static site generators. How they have evolved and why I switched from a Ghost powered site to Gatsby.js, a modern static site generator.
Continue reading “Modern static site generation”