Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
picklelo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
picklelo
4y ago
Yup, our frontend is just a wrapper around React so it is fully declarative. We are definitely more opinionated than something like Flask, but the benefit is that you can write your whole app, including the frontend, in a single language (f
32.
▲
by
picklelo
4y ago
Thanks so much for your kind words! We think our approach can really simplify web development and make it accessible to a larger community. Excited to see what you build with it!
33.
▲
by
picklelo
4y ago
Thanks so much! We're excited to have people start using it and are looking forward to any feedback :)
34.
▲
by
picklelo
4y ago
This should already be a feature! (Let me know if you're running into issues). We enable hot-reloading of the app when you save your file.
35.
▲
by
picklelo
4y ago
Thanks! Yes you can use any valid CSS, see our styling docs: https://pynecone.io/docs/styling/overview . We don't have CSS classes, but you can copy your properties into our snake_case version and pass them to
36.
▲
by
picklelo
4y ago
Yes this is a great use case we're targeting. I've used Streamlit in the past and it's easy to get started with, but I found limitations in terms of components, styling, and performance. Since we compile down to a NextJS app,
37.
▲
by
picklelo
4y ago
I haven't used Phoenix personally, but it looks similar. In Pynecone, the frontend compiles down to a NextJS/React app, and the backend is a FastAPI server. Events are sent as network calls that update the app state, and the state
38.
▲
by
picklelo
4y ago
Our components can be styled using any valid CSS which is what you see here. We do have plans in the future to make a more Pythonic API for styling :) Thanks for pointing out the UI bug, we'll work on a fix!
39.
▲
by
picklelo
4y ago
Haha fair point. Our goal is that the developer will never see or write Javascript. But behind the scenes Pynecone compiles the app's frontend down to a NextJS app. We're trying to leverage the features of React and NextJS and mak
40.
▲
Show HN: Pynecone – Web Apps in Pure Python
(github.com)
209 points
by
picklelo
4y ago
|
97 comments