Daniel Nagy

Results 69 comments of Daniel Nagy
trafficstars

Hi everyone, I hope you had a happy New Year! 🎊 If anyone is interested I recently made some updates to Transporter. If you want to learn more check out...

@mfulton26 I am the author of [Transporter](https://github.com/daniel-nagy/transporter). Transporter was heavily influenced by Comlink and officially supports React Native. For an example of using Transporter in React Native checkout this [Expo...

I had the same problem. The children will be spread so that each child is passed as an argument, instead of an array. https://github.com/probablyup/markdown-to-jsx/blob/ef6898da4f79610a3287d6aa0ce46332435da5bf/index.tsx#L1178-L1186 So in your `createElement` function you...

So the core of the issue is that Rollup is removing JavaScript directives such as `"use client"`? Indeed the warnings went away after using this plugin https://github.com/huozhi/rollup-preserve-directives. That plugin seems...

If I put `/* @ngInject */` just before the constructor it works. ```typescript class Foo { @MyDecorator() someProperty: string; /* @ngInject */ constructor(private $element: ng.IAugmentedJQuery) { } } ```

> Out of curiosity, does the example work if you use useMemo(() => contents, []) ? Yes, without the compiler and with `useMemo` e.g. ```ts import { useMemo } from...

@benmerckx I am the author of [Transporter](https://github.com/daniel-nagy/transporter). Transporter was designed to use object composition. Your example use-case would work as is with Transporter. Transporter is a little more low level...

Tried adding a replica and ran into this same issue.

To get this working during development and in production for a React app I had to use the following config. ```ts import { builtinModules } from "node:module"; export default defineConfig({...