Reflame

82 posts

Reflame

Reflame

@ReflameApp

Ship your React app as quickly as you can build it. With confidence.

San Francisco, CA Katılım Şubat 2021
1 Takip Edilen99 Takipçiler
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
New customer trying out the @ReflameApp component testing product for the first time. 🙂
Lewis Liu tweet media
English
0
2
11
488
Reflame retweetledi
Marcelo Prado
Marcelo Prado@mprado·
Wow, this is insane! If you don't know @lewisl9029, he is one of the few 10x engineers I've met in my career. He quit Brex to build @ReflameApp and solve issues we faced on a daily basis. Check out his latest demo 🤯
Lewis Liu@lewisl9029

Just finished recording a new demo for @ReflameApp that includes our new component testing product! Now the demo on reflame.app is no longer 2 years out of date haha... And it's 2 minutes shorter! And hopefully at least as compelling. Let me know what you think!

English
2
2
15
1.9K
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
Just finished recording a new demo for @ReflameApp that includes our new component testing product! Now the demo on reflame.app is no longer 2 years out of date haha... And it's 2 minutes shorter! And hopefully at least as compelling. Let me know what you think!
English
4
7
37
5.4K
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
Automatic PR/commit previews was definitely a game changer when I first encountered it on Netlify! @ReflameApp's previews introduce a few interesting twists that I believe can make the preview experience even better: - All previews use the same origin as production, routed using cookies. This means previews behave completely identically to production by default, hitting the same APIs, using the same local storage, with no need for special configuration in third party redirects, CORS, etc. If our changes work in a preview, they're guaranteed to work the same way once deployed to production. - In addition to commit/branch previews, we also introduce the concept of a "personal preview", that gets deployed every time we make changes to our apps locally using the VSCode extension. Changes get reflected within milliseconds in our browsers and are applied using React Fast Refresh. It's a similar experience as a traditional local dev environment, except we get much better production parity (uses the same origin as production, has https/http2, can flip to production mode to preview/benchmark/debug with fully optimized output, etc), and we can share it with anyone in the world just by sending a link (and they'll see our changes in real time with React Fast Refresh over the internet).
English
1
1
2
479
Reflame
Reflame@ReflameApp·
@gunta85 At some point we'll definitely try to pick this up automatically from your tsconfig.json. Just haven't gotten around to it yet.
English
0
0
0
52
Reflame
Reflame@ReflameApp·
@gunta85 Ah that's perfect! Take a look at the example here for how to configure those: twitter.com/ReflameApp/sta… Just add another item in the array with the @ replaced with ~ to support both!
Reflame@ReflameApp

@gunta85 And then configure the same aliases on the Reflame side by adding something like this: specifierTransforms: [ { from: "/", to: "@/" } ] Which would allow us to import anything in the source folder with "@/path/to/file".

English
1
0
0
142
Reflame
Reflame@ReflameApp·
@gunta85 And then configure the same aliases on the Reflame side by adding something like this: specifierTransforms: [ { from: "/", to: "@/" } ] Which would allow us to import anything in the source folder with "@/path/to/file".
English
0
0
0
217
Reflame
Reflame@ReflameApp·
@gunta85 We do actually support absolute paths for imports, in the form of `import url from "/icons.png"` (relative to the src folder, not public), but Vite doesn't. One way to set up a form of absolute imports could be to use something like npmjs.com/package/vite-t… on the Vite side...
English
1
0
0
33
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
While forcing teams of 11+ people into opaquely priced (starting at ~$2k/month) "Enterprise" plans still feels pretty ridiculous to me, it's just another pricing lever that they have every right to tweak with. It's the way it's hidden that feels rather questionable ethically.
Olivier Tassinari@olivtassinari

@lewisl9029 @housecor I was trapped by this in the past. I only saw the cap of 10 after talking to sales and investing in a migration effort 🙃 Render makes it clear, I think an example to follow.

English
1
1
2
433
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
Down to a much more reasonable 7s for 250 screenshots now. It could be <5s if these screenshots weren't gigantic to the point they take whole seconds just to capture. Got some ideas to try out. Here's the live results page: github.com/lewisl9029/rad… And yep, it's Radix UI! 🙂
Lewis Liu tweet media
Lewis Liu@lewisl9029

Started onboarding a project with a lot more stories. 250 screenshot diffs in 18 seconds. Needs a lot of work, but better than their current setup (~5m). Playwright's screenshot capture speed is starting to become a bottleneck. Takes more than 2s for some larger screenshots.

English
0
1
3
400
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
Started onboarding a project with a lot more stories. 250 screenshot diffs in 18 seconds. Needs a lot of work, but better than their current setup (~5m). Playwright's screenshot capture speed is starting to become a bottleneck. Takes more than 2s for some larger screenshots.
Lewis Liu tweet media
Lewis Liu@lewisl9029

5 seconds flat. LFG.

English
2
1
3
877
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
Discovered and knocked out a bunch more screenshot flake sources from video loading/playback and font loading for @ReflameApp component tests. I'm sure there's more to find, but at least from the projects I've onboarded so far, the diffs are starting to look pretty solid. :)
English
0
1
3
218
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
Interesting implication of the @ReflameApp testing product I've been working on: Every test suite run is basically a mini DOS on our serving infrastructure! 😱
English
1
2
5
1.1K
Reflame retweetledi
Lewis Liu
Lewis Liu@lewisl9029·
💯 @ReflameApp actually evolved from my early experiments with buildless dev workflows (github.com/lewisl9029/bui…). I eventually had to come to terms with how there just wasn't enough intrinsic value to buildless to justify all the incredibly compelling capabilities we'd lose compared to having a build system. The biggest extrinsic advantage to buildless was the speed of the feedback loop, which does make a huge, tangible difference to DX. This led to a new hypothesis: that it's possible to create workflows with build systems that are so fast they'd feel indistinguishable from buildless workflows. That's when @ReflameApp was born.
English
0
1
1
258
Reflame
Reflame@ReflameApp·
@gunta85 We'll get rid of this as soon as we figure out how to install and bundle NPM packages in <5s consistently (we have some ideas!).
English
0
0
0
8
Reflame
Reflame@ReflameApp·
@gunta85 Right now, installing and bundling NPM packages is by far the slowest part of the system, so we don't want it happening randomly when you import new subpaths in your app code. This makes sure it only happens predictably when you update your config/package.json.
English
1
0
0
3
Günther | グンタ
Günther | グンタ@gunta85·
@ReflameApp I get a `vite-plugin-i18n-detector/client` could not be resolved error when importing. Does Reflame support package sub-exports?
English
1
0
3
24