Category: javascript
-
How to Print (to a real printer!) with Javascript
Short and sweet today – I never knew (well, never knew to look up) how to print a webpage with Javascript. Since you can do just about everything else with the window it’s not surprising, just never a use case I needed. My “discovery” came while at work and trying to debug a component that…
-
How to Find What to Watch
On and off over the last couple months I’ve been putting together a collection of fun/goofy tools that my girlfriend has asked about. As a test of my new fondness of the FARM stack, I’ve rebuilt the project in React, using FastAPI and MongoDB for the backend. It’s located at rachelscoolshit.com because I miss the…
-
Embracing the FARM Stack
After stumbling on a FastAPI article I decided to give it a go and have been having fun using it for a backend. I know I said I loved Go and would be doing all my personal things in Go moving forward, but running with Pydantic and the auto documentation has added some of what…
-
How to Send File Objects from a React Frontend to Django Backend
This is probably pretty common knowledge, but after running into a relatively frustrating event at work I figured I’d do a little write up so I can just look here in the future instead of frantically googling around… I’ve finally embraced using the loader() and action() abilities of react-router-dom and while they simplify many things,…