million icon indicating copy to clipboard operation
million copied to clipboard

Optimize React performance and make your React 70% faster in minutes, not months.

Results 146 million issues
Sort by recently updated
recently updated
newest added

**Please describe the changes this PR makes and why it should be merged:** Closes #222 Relates to https://github.com/aidenybai/million-react/issues/6 In draft. Currently, `componentDidCatch` in class components only works for render errors,...

enhancement

**Describe the bug** Trying to search something in the million documentation causes an endless spinner **To Reproduce** Steps to reproduce the behavior: 1. Go to 'https://millionjs.org/' 2. Click on the...

bug

https://github.com/aidenybai/million-react/issues/6

enhancement

**Is your feature request related to a problem? Please describe.** Local benchmark on my machine is 3 times slower relatively to others, _million_ results similar to _virtual-dom_. **Describe the solution...

enhancement

After reading through https://marvinh.dev/blog/benchmarks/, I have found that Million's benchmarks are skewing in Million's favor (view the Accidental overhead section. Million currently has adaptors for each VDOM library in order...

bug

https://github.com/aidenybai/million/blob/7547fa81ccb0e1a66d5ea4bbba35788190e399bf/packages/react/hooks.ts#L235-L242 I don't think this matches the behavior of React's own `useSyncExternalStore`. I believe it should subscribe only the state setter, rather than the [state, stateSetter] returned from useState. Also,...

**Describe the bug** Wouter errors when integrated into a Million/React environment **To Reproduce** ```js import { createRoot, useState } from 'million/react'; import { Link, Route } from 'wouter'; function App()...

bug
help wanted

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...

enhancement

**Please describe the changes this PR makes and why it should be merged:** WIP **Status** - [x] Code changes have been tested against prettier, or there are no code changes...

enhancement

I had tried to run an existing react/recoil app using Million, but it failed with one of either two errors: 1. `Uncaught Error: This component must be used inside a...

enhancement