

Then, create the project folder and an Expo React Native app by running the code below. Creating a React Native app with ExpoĮxpo saves us from the complex configurations required to create a native application with the React Native CLI, making it the easiest and fastest way to build and publish React Native apps.Įnsure you have the Expo CLI, Node.js, and Git installed on your computer. In this guide, I’ll be using Expo – a tool that provides an easier way of building React Native applications. Here, you’ll learn how to connect the to-do list application to a Socket.io server.

I would be super happy if you could give us a star! And let me also know in the comments ❤️ How to connect React Native to a Socket.io server It can be In-App (the bell icon like you have in Facebook – Websockets), Emails, SMSs and so on. We basically help to manage all the product notifications. Novu is the first open-source notification infrastructure. Novu – the first open-source notification infrastructure It follows the WebSocket protocol and provides better functionalities, such as fallback to HTTP long-polling or automatic reconnection, which enables us to build efficient real-time applications. Socket.io is a highly performant JavaScript library that allows us to create real-time, bi-directional communication between web browsers and a Node.js server. So why do I need to use Socket.io? We want to make a todo list where the user can create a todo list for other users and let them see the status online without refreshing the page. If you are reading this, you have probably wondered – I can do it with a Restful API. In this article, you’ll learn how to build a to-do list application that allows you to sign in, create and delete a to-do, and add comments to each to-do using React Native and Socket.io.
