Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-beret

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-beret

React components for your web page's tracking, assets, and more

  • 0.1.15
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

CircleCI

beret

Beret is a library for building HTML templates with React. It contains components for encapsulating the stuff that your page needs to work. Things like Google Tag Manager, web fonts, etc., are required, but are distractions from actually building your content. Componentizing them with beret helps you to get back to what matters and prevent plugins and assets from falling through the cracks.

Beret is intended to be used with server-side rendering since many resources are required to be on the page before it is loaded.

Example

To see an example of beret in action, check out the examples folder. It uses server-side rendering to create index.html. You can view the result in this repository or follow these steps to play with it for yourself:

  1. Clone this repository.
  2. Run yarn install:peers to install all dependencies and peer dependencies.
  3. Run yarn example.
  4. Open examples/index.html in your editor or your browser.

Contributing

We gladly welcome contributions! Here's how to get started.

  1. Clone this repository.
  2. Run yarn install:peers to install all dependencies and peer dependencies.
  3. Run yarn test to ensure all the tests are currently passing.
  4. Make any changes you want to make.
  5. Add tests, and test your changes as you develop with yarn test:watch.
  6. If necessary, update the example page in the examples folder. Run yarn start to start the webpack-dev-server and test your changes to the example page in your browser.

Keywords

FAQs

Package last updated on 18 Apr 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc