home.social

#biomejs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #biomejs, aggregated by home.social.

  1. Looking for advice on how to refactor legacy #JavaScript #frontend code (My expertise is on backend).

    I know how to write relatively clean JS / #TypeScript for frontend in modern setups with modern tooling, but I'm not sure how to proceed with thousands-of-lines long files that are directly included as they are, so I can transition to having smaller & cleaner files and using static analysis tools that give me some peace of mind.

    My only achievement so far with my current project is that I run #BiomeJS on some selected files.

    I'm relying on #JSDoc for now, but "for my eyes only", I'm not using this typing information to validate anything.

    #refactoring #legacycode