
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
brainly-style-guide
Advanced tools
This project is a living style guide of all basic front-end components used at Brainly.
Documentation is an esential part of this project. You can see its latest version on styleguide.brainly.com. New version of the docs is deployed with every merge to master. You can also browse older versions by changing version number in the URL. Documentation is splitted into four sections:
Current version of storybook is hosted under following dev URL - styleguide.brainly.com
All components can be used in both HTML and JSX. In both cases you have to include main CSS file, as described on the main docs page, in the head section of your page. In case of HTML, you just have to follow style-guide markup which you can easily copy by clicking on any component in the docs. If you prefer to use React instead, you'll have to add this repository as a dependency in package.json
and import components into your JSX file.
We officially support the following browsers (based on real user trafic from our analytics):
Browser | Versions |
---|---|
Google Chrome | 28+ |
Safari | 7+ |
Samsung Internet | 1.1+ |
YaBrowser | 15+ |
Android Webview | 30+ |
Firefox | 42+ |
UCBrowser | 8+ |
Android Browser | 4.0+ |
Opera | 33+ |
Opera Mini | 7+ |
Edge | 12+ |
Note: You can find all recent stats in our analytics (INTERNAL)
We welcome all issue reports and pull requests ❤️ If you'd like to contribute, please start with this doc.
We created a CLI tool that runs codemods with jscodeshift to batch refactor code. Usage:
yarn sg-codemod [...options]
where options
are:
--help
- display help--dry
- dry run (no changes are made to files)--glob
- use glob pattern to match files--jscodeshift
- pass options directly to jscodeshiftRead more here.
FAQs
Brainly Front-End Style Guide
We found that brainly-style-guide demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.