Eric Taylor

Results 5 issues of Eric Taylor

I've worked on creating type definitions for TypeScript for both `styletron-standard` (https://github.com/DefinitelyTyped/DefinitelyTyped/pull/35324) and `styletron-react` (https://github.com/DefinitelyTyped/DefinitelyTyped/pull/35349), and have some general feedback I'd like to provide of things I came across when...

typescript
typing

The "modern" build of this library causes problems with some build systems (such as Vite) because of the usage of dynamic requires (ex: https://github.com/saurabhnemade/react-twitter-embed/blob/master/src/components/TwitterTweetEmbed.tsx#L41) since "require" is a Node thing....

Just wanted to give a heads up to anyone else who comes across this, but currently `react-twitter-embed` uses dynamic "requires" in it's "modern" library code which is obviously _not_ compatible...

The new @types/react@^18 package [ships with](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/56210) breaking changes. One such change is that `children` prop is no longer automatically included as part of the `React.Component` typing. Components need to opt-in...

- **feat: add DisableSubnetValidatorTx** - **feat: add SetSubnetValidatorWeightTx**