Git Product home page Git Product logo

injected-css's People

Contributors

alekseykulikov avatar dependabot[bot] avatar gmazovec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

injected-css's Issues

Optional dependencies

Hi, @alekseykulikov!

I noticed that the package includes prettier and eslint with "batteries" in optional dependencies. But I can't understand what are they doing there, because the library doesn't use them.

Also I met 2 issues with them:

  1. Optional dependencies increase node_modules size
  2. vscode-eslint is going crazy, because it's trying to find eslint in top package.

What do you think?

Todo for v1

  • enable HMR
  • use https://github.com/kentcdodds/babel-macros
  • double down on css variables
  • add eslint plugin (validate structure and selectors patterns) + stylelint integration (for formatting and silly css tricks) for inspiration: eslint-plugin-graphql
  • delete _css to clean memory
  • server side rendering + example
  • optimize styles injection (batch + ids)
  • add config to support BEM's __
  • improve hash class function
  • better classNames for production (.bo-shorthash + improve hash function)
  • better keyframes definition
  • think about js-helpers with preparsed css (like truncate)
  • improve formatting of complied css
  • figure out usage of classnames or add custom utility that smarter and knows about modifiers
  • add support for string without {}
  • handle errors, more tests including real browser run, read and improve babel plugin
  • docs: add example using react
  • docs: improve text and figure out better short description
  • docs: use images in Readme (for syntax highlight and linting examples)
  • possible: opinionated version? lite and default as cssnext + cssnano
  • possible: develop strict version (only classes), that utilise principles of atomic css
  • possible: use Proxy to display unused classes and dead code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.