HN user

fwouts

88 karma
Posts36
Comments25
View on HN
www.youtube.com 3y ago

Previewing UI components and Storybook stories instantly in your IDE [video]

fwouts
2pts0
previewjs.com 3y ago

Preview.js v1.10 and the new visual props editor

fwouts
3pts0
tseditor.fwouts.com 3y ago

Show HN: TypeScript Editor that generates structured forms from TypeScript types

fwouts
12pts9
fwouts.com 4y ago

Detecting UI Components with TypeScript Compiler API

fwouts
1pts0
www.indiehackers.com 4y ago

One Year of Preview.js, a.k.a. React Preview

fwouts
1pts0
github.com 4y ago

Show HN: PR Monitor – Browser extension to stay on top of GitHub pull requests

fwouts
1pts0
www.npmjs.com 4y ago

Show HN: React Preview CLI – An alternative to Storybook with near zero config

fwouts
20pts3
martinkl.substack.com 5y ago

Harm Reduction for Cryptographic Backdoors

fwouts
1pts0
marketplace.visualstudio.com 5y ago

Show HN: React Preview

fwouts
11pts1
fwouts.com 5y ago

A different view of TypeScript's type system

fwouts
2pts0
medium.com 6y ago

A Guide to Improving Your Technical Communication

fwouts
2pts0
medium.com 6y ago

The Journey of Building React Screenshot Test

fwouts
3pts0
github.com 6y ago

Show HN: React Screenshot Test

fwouts
46pts10
medium.com 6y ago

Thinking Inside the Box

fwouts
1pts0
github.com 7y ago

Show HN: A browser extension that helps you keep track of GitHub PRs

fwouts
1pts0
github.com 7y ago

Show HN: Proxay, a language-agnostic record/replay proxy server for faster tests

fwouts
5pts0
github.com 7y ago

Show HN: PR Monitor – Get notified when you receive a pull request on GitHub

fwouts
1pts0
medium.com 7y ago

What does a great software engineer look like?

fwouts
4pts0
medium.com 7y ago

Setting up test data for end-to-end browser tests

fwouts
1pts0
medium.com 7y ago

The inefficiency of storing code as text

fwouts
1pts0
medium.com 8y ago

How to network at tech meetups

fwouts
1pts0
medium.com 8y ago

How could we fix programming?

fwouts
2pts1
zenc.io 8y ago

Show HN: A step-by-step, open-source tool for easy Docker deployments to AWS

fwouts
18pts6
github.com 8y ago

Deploy CLI: a step-by-step, open-source tool for easy Docker deployments to AWS

fwouts
1pts0
hackernoon.com 8y ago

Learning to fail – an early-stage tech startup journey

fwouts
2pts0
zenc.io 8y ago

Show HN: Deploy, a simple visual tool to deploy Docker containers to AWS

fwouts
1pts0
github.com 8y ago

Show HN: CodeTree is an ES6/TS library that helps transform code easily

fwouts
6pts0
hackernoon.com 8y ago

Answering the question: “What programming language do you write?”

fwouts
1pts0
medium.com 8y ago

How yoga helped me become a better programmer

fwouts
16pts3
github.com 8y ago

Show HN: Namefinder, a domain name suggestion engine

fwouts
3pts0

Unless I completely misunderstood the post, a function that calls another function with effects will indeed be "infected". That is, unless the effect ends up being local (such as passing a mutable reference to a local variable).

Hey! Author of Preview.js here :)

It's early days and you might find that Preview.js can be a little difficult to set up in a large, complex project (working on improving that now) but please send through any feedback on the GitHub repo or Discord server, much appreciated!

Hi everyone, author here.

This was originally an extension for Visual Studio Code to preview React components directly in your IDE (that's still available too, as well as for IntelliJ now).

I've since gotten feedback that it's a useful alternative to Storybook, which people often find frustratingly slow, so I decided to build a CLI version as well.

React Preview is not yet open source (I'll probably end up switching to an open core model at some point) but it's based on ViteJS (which is significantly faster than webpack). It also uses the TypeScript Compiler API to resolve types and automatically generate valid props, so you don't need to configure custom stories like you would with Storybook (although that's supported too).

You can also check out the detailed docs at https://reactpreview.com

Please let me know what you think, any feedback is a gift!

Hi everyone!

I've been working on React Preview for a few months. It's currently only available for Visual Studio Code, but an IntelliJ/WebStorm and CLI versions are also in the works and coming soon (you can subscribe to be notified at https://signup.reactpreview.com).

The plan is for React Preview to be a freemium product. The current features are all free, with more advanced paid features coming soon (e.g. integration with Storybook, mosaic of all your components, preview in multiple viewports, etc).

Please don't hesitate to send through bug reports on GitHub (https://github.com/zenclabs/reactpreview/issues) and let me know what you think in the comments!

This is a really cool idea!

A bit of self-promotion: I've been building something similar but without the visual editing, integrating directly in your VS Code editor (and soon IntelliJ/WebStorm too). See https://reactpreview.com for more info.

Direct link to the latest beta for Visual Studio Code for HN friends: https://reactpreview.com/download/releases/reactpreview-vsco...

(it's very early days, this beta isn't even a week old, so expect to find bugs)

I was frustrated with people missing emails/slack messages about GitHub pull requests.

I built a browser extension that shows a notification pop-up and updates the extension badge whenever you get a new pull request. Then I proceeded to convince my colleagues to use it.

For any Googlers out there, this is the same thing as CL Monitor, but for GitHub. I used to maintain CL Monitor back in the days (although I didn't invent it).

You can try it out at https://github.com/fwouts/prmonitor :)

I really like seeing efforts being made in this direction. For the last few years I've been using git-town.com, which works quite well but I often end up having to work around it (especially when I have diamond-shaped branch dependencies, e.g. to refactor two independent things before implementing a small feature on top). I'll have to try this instead and compare!

Indeed, that's why you'd want to use a solution like Git LFS to avoid bloating your repo. Basically, it only stores a link to the image, which is stored separately.

Thanks!

I'd encourage you to try Git LFS, it's a very simple extension to Git. It only takes a couple of minutes to set up if you use GitHub, and I suspect other platforms are similar :)

I'd recommend reading "The Laws of Human Nature" by Robert Greene. It talks about this.

My interpretation from the book: it's a perfectly natural feeling, but it doesn't mean you have to act on negative destructive instincts. There are ways to channel this energy into more productive behaviours (e.g. by using it to challenge yourself).

We tried writing OpenAPI docs to implement a contract-first development workflow, with the idea that backend & frontend/mobile engineers would agree on the API interface by discussing OpenAPI changes in a pull request, and only then start implementing it (on the backend side) and using it (on the client side).

This didn't pan out well, because it turns out OpenAPI isn't very easy to read, especially when you're reviewing a diff in a pull request. We didn't get the engagement we were looking for in pull requests.

We've since invested in building a simpler, human-friendly API description language based on TypeScript, which exports to OpenAPI 3. It's still early, but we've got a lot of positive feedback and quick adoption across the company (50 engineers).

You can check it out at https://github.com/airtasker/spot. Feel free to send us feedback in GitHub issues or replying to this comment :)

Currently, we set up a separate Application Load Balancer for each of your deployments.

It's technically possible to share a single ALB for several deployments, but it becomes harder to manage and sharing the same ALB between dev/prod/staging for example isn't necessarily a safe design (e.g. if you run some load testing on one deployment, it should not put other deployments at risk).

Will add more docs, thank you for the feedback!