These are not even all of my core pain points.
Is local-first development is really like this? Or can be attributed simply to a "skill-issue".
I haven't even touched other stuff like:
- CommonJS vs. ESM is still a predominant issue.
ts-configis diabolical.- building with different alternative node runtimes like
bun,denoor Cloudflarewrangleris challenging. - the most stable env. for me has been
pnpm+vite. - for lib development, what has been more stable and fast for me was this combo
bun+vite.
And just to comment in general about your post. Yeah, I agree. It's a mindfield and requires so much knowledge across so many different libraries to get things to work. Development is so fragmented. I think the bulk of the issues can be attributed to bundling and compiling. Introducing ESM and TypeScript introduces a lot of overhead, but both are offer nicer developer experiences once you're set up is working for you. These days when I create a project I use AI to do most of that stuff. I understand it a bit better but only through watching AI correct it, and investigating it. One technique I've found that works really well for me, is to tell Cursor to create a test file once it's finished and if the test doesn't pass I ask it to keep investigating the issue until it's fixed.