- 
                Notifications
    
You must be signed in to change notification settings  - Fork 6
 
Home
        Ryan Johnson edited this page Aug 12, 2018 
        ·
        12 revisions
      
    TypeScript (to distribute centralized type definitions)- Deploy to NPM (consume via 
importorrequire()) 
- Browsers: IE11, Edge, Firefox, Chrome, Safari
 - Environments: ES6 (will require bundling in consuming app)
 - React: v15+
 
Given that the majority of public React component libraries do not prefix their exported components, and the lack of any solid pros/cons of prefixed vs unprefixed (aside from the number of characters to type), it's best to go with the implied industry standard of unprefixed components.
👍 Do
export class Checkbox extends React.Component { ... }
export class Menu extends React.Component { ... }import { Checkbox, Menu } from 'helix-react';👎 Don't
export class HxCheckbox extends React.Component { ... }
export class HXMenu extends React.Component { ... }import { HxCheckbox as Checkbox } from 'helix-react';
import { HXMenu as Menu } from 'helix-react';