Creating React Applications with Python
This short e-book is a quick tutorial on the approach I've started using to create front-end React applications using Python. It's a high-level look at what I've documented at depth in my book React to Python and serves as the base material for the presentation I give as an introduction on the subject.
The general idea is that by using the pip-installable Transcrypt transpiler, you can code to JavaScript libraries using Python. The transpiling process works in a similar way to how TypeScript gets converted to JavaScript. The main benefits in this case being:
- You get to use Python for full-stack development.
- There is potential for code reuse on the front-end and back-end
- Using one language for full-stack web development keeps you from having to constantly switch languages in your brain while coding.
- :-)
This approach isn't for everyone, but as someone who really enjoys coding in Python, it has been working out really well for me and I want to share my excitement about being able to use Python to code front-end web applications. If you want to keep informed of any updates or new material posted related to this approach, join the React to Python mailing list.
Enjoy!
A short tutorial on how to create front-end web applications in Python using the React JavaScript library, without having to program in JavaScript!