Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sheets management for css() #1137

Merged
merged 18 commits into from
Jun 21, 2019
Merged

Sheets management for css() #1137

merged 18 commits into from
Jun 21, 2019

Conversation

kof
Copy link
Member

@kof kof commented Jun 18, 2019

Seems like after 10-20k rules, insertion becomes slower. I limited it to 10k, after that it creates a new sheet.

@kof kof requested a review from HenriBeck as a code owner June 18, 2019 18:18
@kof kof requested review from HenriBeck and removed request for HenriBeck June 20, 2019 21:35
@kof kof merged commit 2874ed7 into master Jun 21, 2019
HenriBeck pushed a commit that referenced this pull request Jul 6, 2019
* master: (50 commits)
  v10.0.0-alpha.22
  add react-dom dev dependenncy
  Fix SSR for Hooks based implementation (#1148)
  React-JSS id prop docs and improvements (#1147)
  v10.0.0-alpha.21
  fix changelog
  add support hint to the changelog (#1145)
  Sheets management for css() (#1137)
  Update css-vendor to 2.0.5 (#1142)
  more articles
  Small readability improvements (#1138)
  create sponsors.md (#1139)
  update karma settings
  Update css-vendor to 2.0.4 (#1136)
  v10.0.0-alpha.20
  fixing release
  v10.0.0-alpha.19
  fix lerna force-publish flag
  many more tests and some improvements to styped interface (#1133)
  v10.0.0-alpha.18
  ...

# Conflicts:
#	packages/react-jss/src/index.d.ts
HenriBeck pushed a commit that referenced this pull request Jul 7, 2019
* master:
  Use componentDidMount for WithStyles (#1157)
  Use mui like global ponyfill (#1153)
  HOC should not attach sheets until mount (#1149)
  v10.0.0-alpha.22
  add react-dom dev dependenncy
  Fix SSR for Hooks based implementation (#1148)
  React-JSS id prop docs and improvements (#1147)
  v10.0.0-alpha.21
  fix changelog
  add support hint to the changelog (#1145)
  Sheets management for css() (#1137)

# Conflicts:
#	packages/react-jss/.size-snapshot.json
bhupinderbola pushed a commit to bhupinderbola/jss that referenced this pull request Sep 17, 2019
* initial verion of css innterface

* use string based cache, which can be optimized later with a babel plugin

* merge labels

* support arrays

* check cache early

* implement composition

* add flow types [ci skip]

* fix tests, export types

* Update packages/css-jss/src/index.js

use createCss directly

Co-Authored-By: Henri <henribeck.dev@gmail.com>

* cr changes

* dedupe labels

* changelog

* revert browsers.json changes

* create new sheets when rules amount is too high

* changelog
@iamstarkov iamstarkov deleted the css branch October 4, 2019 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants