Skip to content

A CSS technique that helps developers avoid ugly layout jumps while users resize their browsers.

Notifications You must be signed in to change notification settings

frontendlane/responsify.dev

Repository files navigation

Responsify

Source code for https://responsify.dev.

Todos

notes

  • babel-plugin-react-compiler needed to be able to use react-compiler (opts out of next.js' rust-based compiler)

Technologies

  • PostCSS (postcss language support vs code extension)
    • cssnano-preset-default only does safe transforms

npm

Another reason why not using pnpm: pnpm/pnpm#6759

EditorConfig

EditorConfig sets some formatting rules for your code editor, such as starting new files with tab indentation. While Prettier can handle most of these rules, using EditorConfig on new files helps avoid unnecessary reformatting by Prettier.

TypeScript

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run dev Starts local dev server at localhost:3000
npm run build Build your production site to ./dist/
npm run preview Preview your build locally, before deploying
npm run astro ... Run CLI commands like astro add, astro check
npm run astro --help Get help using the Astro CLI

About

A CSS technique that helps developers avoid ugly layout jumps while users resize their browsers.

Topics

Resources

Stars

Watchers

Forks