Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Livecoding Recap: React-Navigation With React Native [Video]

DZone's Guide to

Livecoding Recap: React-Navigation With React Native [Video]

In this livecoding session, one dev takes a look at building web applications with React and their new react-navigation tool.

· Web Dev Zone ·
Free Resource

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

I channeled my inner Darth Vader yet again. I still don’t know why my sound is garbled on YouTube but works on LiveEdu. They’re both using the same stream.


This week, I wanted to try out react-navigation because I’ve heard a lot about it. Supposed to be the big new (official) thing since Navigator was deprecated in April.

So I set out to build a travel app. You say where you’re going, the app tells you what to pack. I have no idea where I’m going to get lists of what to pack for different situations, but it seemed like a good way to try react-navigation.

Looks a bit like this:


The pictures are from Flickr. I figured out how to do that in my Music App tutorial. Maybe I should make an open-source “show a random pretty pic from Flickr” component. Seems useful. 

Anyway, pics are from Flickr, the navigation is done via react-navigation, andthe lists of choices are done by hand. No biggie there… still not sure how I’m going to get packing recommendations.

I wonder how difficult it would be to add crowdsourcing to the app… a bit of Firebase, some setup, a call or two… hmmmm. We’ll see.

Either way, expect an in-depth tutorial about all of this on reactnative.school come Tuesday. Maybe Wednesday if I decide to wait for my new laptop to arrive.

Really, the hardest part of today’s livecoding was dealing with my computer. Damn thing is so slow when running OBS and connecting to my DSLR that it took 15 minutes to compile the initial blank app.

And animations were slow in the iOS simulator and interaction was painful and I could barely type in the chatroom and even the Flickr images were taking way too long to show up. Just watch the streaming video; it’s painful.

Reminds me of playing Resident Evil on my 166MHz machine with 16MB RAM back in middle school. I’d read books during the door opening animations.

Yeah, that used to take 5 minutes on my computer in middle school. 

Great game tho. A lot of fun.

So yeah, fun livecoding, we made something pretty, then I ragequitted because I couldn’t deal with my laptop anymore. Thank <insert nerd deity> that I’m getting a new one in the mail this Wednesday.

Then all will be better, right?

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Topics:
web dev ,react ,web application development

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}