- 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”
- Use Redux to Manage React Navigation StateIf you’ve ever wanted to know how to store the state from React Navigation in Redux and didn’t understand the guide in the docs — look no further!
- I put together a quick video on how you can do so.The guide is great but sometimes it’s helpful to see someone walking through the process.
- That’s what this video covers — I definitely suggest you read the guide as well.
If you’ve ever wanted to know how to store the state from React Navigation in Redux and didn’t understand the guide in the docs — look no further! I put together a quick video on how you can do so…
Continue reading “Use Redux to Manage React Navigation State – Handlebar Labs – Medium”
- Pete Hunt did not give up: he did most of the work required to decouple React from Facebook’s stack so that Instagram could use it as well, making Instagram the first external product to use React.
- With this, Facebook was a step away to blessing developers around the world with the awesomeness of React.
- The Library proposes a set of ideal primitives that can be used on all React applications irrespective of the platform.
Learn how React has been evolving in the past years and what are the most recent updates from the community.
Continue reading “The evolution of React”
- They differ greatly in their approach, with Cordova being embedded web view centric, and React Native being native centric.
- React Native is just one of a growing number of frameworks for building mobile apps that are truly native after undergoing the build process.
- This presentation provides a short introduction to both Cordova and React Native, and walks through the process of migrating an example app — a fitness activity tracker — from Cordova to React Native, highlighting strategies, tips, and gotchas along the way.
- The presentation and full source code for the example app are available at:
Continue reading “Migrating from Cordova to React Native”
- Cloudinary Just announced a React SDK that enables you to easily build a responsive image gallery.
- Let’s build a simple React app in this file and test it:
Before the app can be rendered, we need to create an entry where the React compiled app will be rendered:
Let’s handle the styles now, instead of worrying about it later:
Run in your terminal and in another terminal to test the app:
The most significant content in the styles is where we are using media queries to make each image full width for small devices and x by x of the width for larger devices.
- Moving forward, we need to configure the installed Cloudinary SDK with the :
The component is used to create a config context that would wrap a group of images and image transformations.
- The React Cloudinary SDK also provides a component that gives you the ability to apply transformation declaratively as :
The , , and properties are provided by Cloudinary to help you adjust images to make them fit your responsive design while still retaining the image quality.
- With few lines of codes, we were able to add a responsive image gallery to a React app.
In this article, we’ll show you how Cloudinary’s responsive transformation features enable you to quickly and easily create a responsive image gallery.
Continue reading “Build a React Image Gallery with Cloudinary”
- We need to eject in order to gain access to the start.js script that is edited to allow us to add custom HTTP proxy middleware .
- If you want your users to access this new page with the context of Share then it makes sense to include the standard header and footer.
- Once the server has restarted you’ll be able to login to Share and then you will be able to access your page at /share/page/react .
- Content tagged with alfresco share
- In the blog post I’m going to step through the process of creating a page using React and deploying it into Share.
Introduction I’ve previously experimented with developing Alfresco clients using a number of different application frameworks. In this blog post I’m going
Continue reading “Deploying React pages to Share”
- Your link to unlock this lesson will be sent to this email address.
- We’ll also setup Android, Android Studio and get the project running on an emulator with the react-native run-android command.
- Unlock this lesson and all 827 of the free egghead.io lessons, plus get React content delivered directly to your inbox!
- In the lesson we’ll walk through the process of installing the react-native-cli through setting up a basic react-native project on iOS. We’ll get the basic project running in a simulator via XCode.
- Member comments are a way for PRO Members to communicate, interact, and ask questions about a lesson.
In this lesson we’ll walk through the process of installing the react-native-cli through setting up a basic react-native project on iOS. We’ll get the basic project running in a simulator via XCode. We’ll also setup Android, Android Studio and get the project running on an emulator with the react-native run-android command.
Continue reading “Setup React Native for iOS and Android”