Michal Srb

Results 55 comments of Michal Srb

To strip TypeScript: 1. Run `npm install sucrase` 2. in node_modules/sucrase/dist/index.js replace `isJSXEnabled` with `true` in the `_parser.parse.call(` call 3. in node_modules/sucrase/dist/cli.js `disableESTransforms: true,` to `sucraseOptions: {` object 3. Run...

Division isn't simplifying at all, which is what I thought would be a huge selling point of this library. ```js > Qty('6.67259e-11 N*m2/kg2').toBase().toString() '6.67259e-11 kg*m3/s2*kg2' ``` It should be `'6.67259e-11...

You can use something like this, if you want full normalization: ```es6 function toBase(x) { const y = x.toBase(); const ORDER = [ "", "", "", "", "", "", "",...

I took @VickyKoblinski's example code (https://github.com/chakra-ui/chakra-ui/issues/6192#issuecomment-1159979257) and boiled it down to the minimum to get a theme correctly pre-rendered with NextJS: ```tsx // pages/_document.tsx import Document, { Html, Head, Main,...

I am 100% in the camp of aligning the thickness with other shapes. If you want to use draw for annotations, change the thickness. Let's not force this use-case on...

Maybe add two more thickness values to draw specifically?

If we have a free modifier or a modifier combo we should use it to disable snapping. I just wanted use the grid to position text inside of it, but...

Here's what works for me now: npm script: ``` docusaurus start --port $(detect 3000) ``` and have detect-port installed as a dev dependency Not sure whether this will work on...

Hey @dan5py, you only need to change the tailwind config’s “darkMode” if you’re using the `dark:` modifier, whereas I was suggesting an approach with CSS variables.