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 >>
Top comments (0)