Phases

What We Do

Company

Resources

Events

Blog

Free Consultation

ahoy@headway.io

(920) 309 - 5605

Interacting with Databases in React

February 18, 2020

February 18, 2020

5:30 pm

Presented By

Spread the Word!

Bring co-workers, friends, and anyone else you think would benefit from the community.

Interacting with Databases in React

hands typing on macbook pro

Connecting your React app to a database

So, you built a cool new app in React.

Okay, cool! But does data go back to its initial state after every refresh?

Do you want to store things for longer than that? Then you need a database, friend-o!

In this tutorial, learn how to connect your React to a database and bring your app to life. See what tools you can use to keep state in sync with a database. In this React JS presentation, we explore some shiny modern libraries that abstract the process of data fetching and syncing to make it as painless as possible.

Resources and tools

JSONBox

JSONBox docs

Firebase Starter (real NoSQL database)

Firebase docs for web apps

JS Promises

async/await in JS

CodeSandboxes of the Demo

Local state todolist (where we started)

Axios todolist

refactored API.js todolist (where we ended)

Connecting your React app to a database

So, you built a cool new app in React.

Okay, cool! But does data go back to its initial state after every refresh?

Do you want to store things for longer than that? Then you need a database, friend-o!

In this tutorial, learn how to connect your React to a database and bring your app to life. See what tools you can use to keep state in sync with a database. In this React JS presentation, we explore some shiny modern libraries that abstract the process of data fetching and syncing to make it as painless as possible.

Resources and tools

JSONBox

JSONBox docs

Firebase Starter (real NoSQL database)

Firebase docs for web apps

JS Promises

async/await in JS

CodeSandboxes of the Demo

Local state todolist (where we started)

Axios todolist

refactored API.js todolist (where we ended)

February 18, 2020

5:30 pm

Spread the Word!

Bring co-workers, friends, and anyone else you think would benefit from the community.

Subscribe for future events

Stay up to date on upcoming events like this one and get valuable resources delivered to your inbox.

Thanks for signing up!
Oops! Something went wrong while submitting the form.

More upcoming events

The Manifest

Receive the latest articles, resources, events, and more!