Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lewisl9029
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
lewisl9029
4y ago
Really appreciate you taking the time to write this super thoughtful comment! There's definitely a lot of valuable feedback/advice for me to take away here. Re: supporting new build systems. You're totally right that it'
32.
▲
by
lewisl9029
4y ago
Ah got it. Yep SSR is definitely not something Reflame can support for now. I do hope to figure something out for backend development eventually though, since I'm actually constantly feeling the pain of lacking a similar feedback loop
33.
▲
by
lewisl9029
4y ago
Thank you so much for the kind words! Mind me asking what you're using to deploy web apps today? And what you feel Reflame is missing? Wanted to make sure I get those on my roadmap. :)
34.
▲
by
lewisl9029
4y ago
So JS has this really nice property where things really can be just deployed as independent modules, and they will just work together without any cross-module compilation or analysis needed. It's a big part of what makes Reflame's
35.
▲
by
lewisl9029
4y ago
Haha thanks, yep, that actually took quite a few takes to record, but couldn't help but smirk on every one. :)
36.
▲
by
lewisl9029
4y ago
And it's up! Thanks for waiting!
37.
▲
by
lewisl9029
4y ago
Ok I think I figured this one out. I'm using the GitHub GraphQL API, and was adjusting some overly conservative pagination limits so some folks with a ton of repos can see all of theirs listed. Turns out I went a bit overboard and went
38.
▲
by
lewisl9029
4y ago
Oh no, that's terrible! Looking into it now. If you could open up a support chat so I can grab the user ID and get back to you when I have a fix, that would be super helpful!
39.
▲
by
lewisl9029
4y ago
So supporting Vite-based React apps is _very_ high on my list of priorities at the moment, precisely because I don't really want to be pushing people to create-react-app just to use Reflame, since it offers a strictly inferior experien
40.
▲
by
lewisl9029
4y ago
Depends on what you mean by cross-module type-checking! TypeScript would still be running locally because Reflame doesn't run your typechecking for you yet (though we'll be working on it!), either on your laptop or in a CI server
41.
▲
by
lewisl9029
4y ago
Haha that's awesome. In fact, part of Reflame was inspired by the good old days of webdev where we could just ship changes by editing PHP files sitting on the production server. There are obviously very good reasons why we mostly don&#
42.
▲
by
lewisl9029
4y ago
Thanks for the kind works! Unfortunately, if you're using Next for SSR, and your use case requires SSR, the answer is going to be an unambiguous no (at least today). See https://news.ycombinator.com/item?id=33134092 fo
43.
▲
by
lewisl9029
4y ago
Unfortunately only client-rendered React apps are supported. So if your use case requires SSR, Reflame is probably not a good fit. For more on this, see: https://news.ycombinator.com/item?id=33134092
44.
▲
by
lewisl9029
4y ago
Thank you for the kind words! To answer your question, the system is definitely not as flexible as I'd like it to be today. The eventual goal is for Reflame to support many of the most popular development toolchains out of the box, eno
45.
▲
by
lewisl9029
4y ago
Really appreciate the kind words! The things in build pipelines today that you mentioned (linting, testing, events/webhooks), are all things that Reflame will eventually try to build versions of, with a focus on speed similar to what w
46.
▲
by
lewisl9029
4y ago
> If I'm understanding you right, you've created a new lower-level buildchain and caching mechanism. The first time I deploy an app to your servers it will take a while, but subsequent ones will be a lot faster. Yep, but one im
47.
▲
by
lewisl9029
4y ago
Yep, definitely a tradeoff. Really awesome to hear others have explored this in the past! I wanted to err on the side of _enabling_ an identical-to-production development workflow, because AFAIK nothing else really offered this. So the cook
48.
▲
by
lewisl9029
4y ago
That's a really fair concern, in fact it's one that's bitten me quite a few times. Can't count the times I stared at a page waiting for an update, only to realize I'm looking at production, or vice versa. This why I
49.
▲
by
lewisl9029
4y ago
Happy to explain in a bit more detail how it works: So Reflame does not use any of the exact same high-level, user-facing tools you might be using locally, like vite, webpack, npm, yarn, etc. Those tools are designed to be ran locally, and
50.
▲
by
lewisl9029
4y ago
(posting some extras as comments since the original post is already way too long) What's the pricing going to be like? Pricing is still very much a work in progress. Feedback from early customers will play a major factor here. Here
51.
▲
by
lewisl9029
4y ago
(posting some extras as comments since the original post is already way too long) What kinds of things should I not build with Reflame? Reflame in its current state can only deploy client-rendered React apps. So it comes with the usual cave
52.
▲
by
lewisl9029
4y ago
(posting some extras as comments since the original post is already way too long) How does Reflame deploy so quickly? Some major contributors: - Reflame never does more work than absolutely necessary for any change. Every JS/TS module
53.
▲
Show HN: Reflame – Deploy your React web apps in milliseconds
(reflame.app)
147 points
by
lewisl9029
4y ago
|
56 comments
54.
▲
by
lewisl9029
4y ago
Thank you so much for catching these! Just deployed a fix for both.
55.
▲
by
lewisl9029
4y ago
Dynamo has definitely been a bit of a nightmare to work with, but I actually find Fauna reasonably pleasant. You're not going to get the vast ecosystem of SQL based tooling, but the query language itself is designed to be composable, w
56.
▲
by
lewisl9029
4y ago
I haven't but it's definitely an interesting option! Cockroach is another option if you're looking for Postgres compatibility.
57.
▲
by
lewisl9029
4y ago
Yep, Cockroach's dedicated offering was pretty cost prohibitive when I last looked too, and I really didn't want to have to operate my own globally replicated database, so Fauna seemed like the best option at the time. Really look
58.
▲
by
lewisl9029
4y ago
Replicache has a commercial license but is source-available. Clientdb is open-source, but doesn't seem as mature yet. I'd love to see more open source solutions in this space too.
59.
▲
by
lewisl9029
4y ago
Replicache ( https://replicache.dev/ ) and clientdb ( https://clientdb.dev/ ) are the only productized versions of this architecture I'm aware of (please do let me know if anyone is aware of others!). But
60.
▲
by
lewisl9029
4y ago
The architecture I eventually ended up with for my product ( https://reflame.app ) involves: 1. A strongly consistent globally replicated DB for most data that needs fast reads (<100ms) but not necessarily fast writes (>200m
More ›