Puru Vijay
Puru Vijay
Thanks!! I wanna extend this. I have another library coming svelte-resizable, and another called svelte-rnd, which combines these both. So should I have a category like "Draggable and Drop"?
> Hello there 👋 as somebody interested in switching to Preact I'd like to provide my personal wishlist for it, hopefully it will be somewhat useful to the maintainers here....
> > You say the perf dropped? > > @PuruVJ Navigating a list in my app using Preact takes about 20% more computation compared to doing the same thing with...
@mprast did you have `@types/react` installed? I installed it and it works perfectly
If you install @types/preact, your `class` might stop working. To fix that, add this snippet to your types.d.ts inside the `src` folder ```ts declare namespace React { interface HTMLAttributes {...
> ok last comment I'll leave on this issue - @PuruVJ installing `@types/react` worked, but is that the 'official' way to get types to line up? I would imagine that...
It means, that the `Component` class, using which you create class components(`class MyComp extends Component {`, will be moved to `preact/compat` rather than plain `import { Component } from 'preact'`
Thanks to @wanoo21 for his solution. If you want, you can use the native way to watch the `location` prop. Here, I wrote a blog post about it: https://puruvj.dev/blog/stencil-router-events
Having same issue, but because I have a react and vue package in `packages` folder in a pnpm workspace, and it's by design Svelte typings don't break though Edit: It's...
I'd like to take a stab at it Because these are ambient types, I think we'd need to have another `globals.d.ts` file in the exports, and give instructions to add...