DEV Community

Cover image for A Little Break & Dream-Coding
Alex Morton
Alex Morton

Posted on • Edited on

1

A Little Break & Dream-Coding

This post was originally published on October 22, 2020 on my blog.

Prescribing myself a day of rest from a certain tough problem I'm facing in one of my projects.

I'm building a React app but I want to use a third-party API to pull in data. The only thing is that I want to hide my API token, and it still ends up being shown in the 'Network' tab of Chrome dev tools.

I know I need to create a server that the app can communicate with and run a function server-side to return my API token, but the idea of that is breaking my brain a little bit.

A little break from that could really help, I think.

In other news, I had a dream that I rebuilt Twitter on my own, from the ground up.

Does dream-coding count as progress?


P.S. Did you know I have a podcast with new episodes each Wednesday? Go listen right over here >>

The Ladies Code Collective Podcast cover art

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay