You are viewing a single comment's thread from:

RE: 2024-04-13 - How to upload an image to Hive Post?

in HiveDevs10 months ago

Understood. Thanks for pointing it out. Initially I used fetch.
Then I thought of other devs who usually prefers axios (which includes me too :P)

I'll update it fetch. Also, any idea why code formatting isn't showing up correctly?
I remember adding perfect indentation - spacing - all gone :(

Sort:  

No idea on the code formatting, I thought it was strange too, maybe copy paste stuff?

Yeah, I used to use axios a ton myself too but have been moving my stuff over, especially now that it’s built into Node.JS too. I’ve been heavily working on UI stuff at work and so bundle size has become a huge concern to me.

Understood. Thank you for sharing your experience. I'll take a note of it & update code accordingly.

I'm 100% sure that, even after hitting the publish button, everything looked good & right after publishing, everything f**ked up. Let me try editing it from peakd.

Edited the post on Peakd & now it works fine.