3 ms·
Not in SF but I liked the topic because recently I started using LLM in a very interesting way and I would like to see if that's something others are doing too.
by meiraleal 2y ago
Not in SF but I liked the topic because recently I started using LLM in a very interesting way and I would like to see if that's something others are doing too.
In place of adding packages to my projects, which I would probably not use the whole of it, I ask ChatGPT/Sonnet to generate a subset of that package that fits my needs and grow it from there.
In same way I've removed literally all packages in a web app I'm working besides tailwind which I'm also thinking about how to remove next.
The biggest upside of this strategy is that I understand everything that is going on in the code and another one is to avoid npm packages that is a big security risk.
Another benefit is package size, the app I'm working was getting to a final bundle of 400kb, which isn't too big but now it is 150kb with exactly the same features but without multiple frameworks and packages that I wasn't using 10% of it.