Skip to content

Commit

Permalink
feat: add insertRule batching optimization (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredLunde committed Sep 1, 2022
1 parent 8fcdf2e commit d460435
Show file tree
Hide file tree
Showing 9 changed files with 249 additions and 721 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,6 @@ export type Dash = {
| stylisPlugins | `Plugable[]` | No | | An array of Stylis plugins. See: https://www.npmjs.com/package/stylis |
| prefix | `boolean \| ((key: string, value: any, context: any) => boolean)` | No | `true` | Turns on/off vendor prefixing. When a boolean, all prefixes will be turned on/off. Use a function to define your own prefixes for a given key/value. |
| container | `HTMLElement` | No | `document.head` | This is the container that `<style>` tags will be injected into when style rules are inserted. |
| speedy | `boolean` | No | `true` in prod | Uses speedy mode for `<style>` tag insertion. It's the fastest way to insert new style rules, but will make styles uneditable via dev tools in some browsers. |
---
Expand Down
2 changes: 1 addition & 1 deletion server/types/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit d460435

Please sign in to comment.