Aleksandr Grigorii

Results 9 issues of Aleksandr Grigorii

Proposal: create an "effector/swc-plugin" that is similar to "effector/babel-plugin". [https://swc.rs/docs/usage-plugin](https://swc.rs/docs/usage-plugin) [Next.js 12](https://nextjs.org/blog/next-12#faster-builds-and-fast-refresh-with-rust-compiler) includes a brand new Rust compiler that takes advantage of native compilation. The compiler is built on [SWC](https://swc.rs/),...

enhancement
help wanted
RFC
effector/babel-plugin
nextjs

```ts import { attachLogger } from 'effector-logger/attach'; ``` ```log Could not find a declaration file for module 'effector-logger/attach'. '/node_modules/effector-logger/attach.js' implicitly has an 'any' type. Try `npm i --save-dev @types/effector-logger` if...

bug

## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature -...

area: examples

Hello, how create zodtype with object props from external types? ```ts // Generated type from API type User = { id: number name: string } const UserSchema = z.ZodType =...

### Babel plugin for `patronum` and `atomic-router` factories does not work in vitest test environment https://stackblitz.com/edit/vitejs-vite-5zfwj3 Vite and Vitest use the same config. ```js // .babelrc { "presets": ["patronum/babel-preset", "atomic-router/babel-preset"],...

bug
needs triage

Provide the ability to mark queries as invalid ## ref [tanstack/query](https://tanstack.com/query/latest/docs/framework/react/guides/query-invalidation) ## example api ``` invalidate(query, { triggers: [ev1, ev2] }) invalidate([query1, ...queryN], { triggers: [ev1, ev2] }) or invalidate({...

type:enhancement
scope:core

## Proposal Mark Gate Component with 'use client' directive ## Use case ```ts // model.ts export const PageGate = createGate() ``` Now we cant do like this ```ts // react...

RFC
effector-react
nextjs

Reproduce - clone repo https://github.com/domosedov/nextjs-effector-swc - install deps `pnpm i` - run `pnpm dev` - see terminal output

## Proposal ```ts const $notSerializableInJson = createStore(someApiClient, { serialize: 'omit' }) const scope = fork({values: [ [$notSerializableInJson, {foo: async () => 'baz'}], ]}) // Do something... const data = serialize(scope)...

bug
fork api