pedalboard
Sass
pedalboard | Sass | |
---|---|---|
23 | 202 | |
18 | 14,919 | |
- | 0.3% | |
8.4 | 8.9 | |
about 2 months ago | 2 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pedalboard
-
Take control over your media loading
You can check out some demo examples in this Storybook, and see the code in the pedalboard repo.
-
Get Your TypeScript Coverage Report
Turns out there are tools for that and one of them is called typescript-coverage-report by Alex Canessa and I’m going to give it a try now and implement it in my Pedalboard monorepo.
-
Enhancing a Stylelint plugin (with some TDD love)
Also, all the code mentioned here can be found in the GitHub repository for this plugin. Put your testing helmet on, here we go!
-
Supporting SASS in your TS React project using TSC and esbuild
My Components package currently supports regular plain-old CSS (not that there’s anything wrong with it), and I thought it was a good time to introduce SASS to it, but the package is not a ordinary “Webpack-build-that-s#!t-for-me”. I’m using TSC (TypeScript Compiler) to generate the artifacts - What it means is that TSC is compiling 2 versions of the component, ESM and CJS. Once we have these, we’re taking the ESM outcome and bundling it using esbuild. You can read more about it here, but if to put it visually:
-
Testing Your Stylelint Plugin
In this post I will write a test suite for my @pedalboard/stylelint-plugin-craftsmanlint. We will be using jest-preset-stylelint to help us with that, and as a bonus, I’ll fortify the plugin’s TypeScript support.
-
Converting Your React Hook To TypeScript
For reference, below is an image of the Pagination component, and you can find it’s code here:
-
Visual Testing Your Components With Chromatic
Disclaimer - I’m going to apply the following steps on my Pedalboard monorepo. Working with monrepos is a bit different, and I will relate to that during the process, but be aware that applying Chromatic on a “simple” repo is even simpler.
-
Introducing esbuild To Your Monorepo
I have noticed that although the build process for packages under my “pedalboard” Monorepo creates different artifacts (CJS, ESM and types - you can read about it in more details in my “Hybrid NPM package through TypeScript Compiler (TSC)” post) it does not create a single bundle for the entire package.
-
Visual Regression Testing with Cypress 10
I will attempt to introduce this visual regression testing to my Pagination component from the @pedalboard/components package. So here we go.
-
Giving Jest-Preview a Spin
So let’s see how this tool works and what we can do with it. I’m gonna do my experimenting over my Pagination component which resides on the @pedalboard/components package. Let’s go!
Sass
-
Creating Nx Workspace with Eslint, Prettier and Husky Configuration
SASS(.scss) [ https://sass-lang.com ]
-
Future of CSS: Functions and Mixins
Traditionally CSS lacked features such as variables, nesting, mixins, and functions. This was frustrating for Developers as it often led to CSS quickly becoming complex and cumbersome. In an attempt to make code easier and less repetitive CSS pre-processors were born. You would write CSS in the format the pre-processor understood and, at build time, you'd have some nice CSS. The most common pre-processors these days are Sass, Less, and Stylus. Any examples I give going forward will be about Sass as that's what I'm most familiar with.
-
Top 20 Frontend Interview Questions With Answers
CSS stands for Cascading Style Sheets, and is a scripting language used to style web pages. SCSS stands for Syntactically Awesome Style Sheet, and is a superset of CSS. You can think of SCSS as the more advanced version of CSS, which comes with several features that CSS does not support, such as the SCSS nested syntax, as shown below.
-
How to Build a Stepper Component in React 🤔 ?
Scss
-
Modern CSS for 2024: Nesting, Layers, and Container Queries
In the past, you’d need to rely on pre-processors such as SaSS or Less, but not anymore… Native CSS nesting has landed on all major modern browsers.
-
Help identifying dashboard frontend – is this SaaS?
Sass is also a css preprocessor. Op is likely confused
-
45 NPM Packages to Solve 16 React Problems
sass -> An improvement over CSS. It provides nice features for managing CSS. good for mid-sized or even larger projects.
-
Best Resources For Web Developers 💻 [HTML + CSS + JavaScript]
Sass (Syntactically Awesome Style Sheets) - A CSS preprocessor that simplifies and enhances your CSS workflow. Website: https://sass-lang.com/
-
A Developer’s Guide to Implementing a Design System (Part 1)
Personally, my preference is Sass: I find that the mixins, partials, and operators are hugely useful when it comes to creating re-usable snippets of code for a design system. And, since it’s “just” a pre-processor and not a framework, it’s not opinionated in a design sense and there’s no default values (colors, spacing values, etc.) that will need to be overwritten.
-
How To Choose the Best Static Site Generator and Deploy it to Kinsta for Free
Preprocessors: SSGs leverage preprocessors to streamline the development process. Preprocessors like SASS for CSS or Babel for JavaScript offer additional features and simplify code development.
What are some alternatives?
lerna - :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
emotion - 👩🎤 CSS-in-JS library designed for high performance style composition
ladle - 🥄 Develop, test and document your React story components faster.
JSS - JSS is an authoring tool for CSS which uses JavaScript as a host language.
testing-react - Testing utilities that allow you to reuse your Storybook stories in your React unit tests!
Tailwind CSS - A utility-first CSS framework for rapid UI development.
ESLint - Find and fix problems in your JavaScript code.
PostCSS - Transforming styles with JS plugins
nx - Smart Monorepos · Fast CI
Less Rails - :-1: :train: Less.js For Rails
vite - Next generation frontend tooling. It's fast!
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.