react-crudeditor icon indicating copy to clipboard operation
react-crudeditor copied to clipboard

Consider using less react-bootstrap in favor of regular HTML tags

Open estambakio-sc opened this issue 7 years ago • 0 comments

Meta-Info Value
ExtProjectId JCPROC-01
Original Estimation ???h
Remaining Estimation ???h

While some react-bootstrap components are really useful, other can be removed in favor of regular HTML tags. For example, Form or Button components, which do nothing but render <form> or <button>, but still take ~20kb uncompressed each in codebase. There are probably more such components (FormControl, FormGroup, etc.).

We should consider rewriting components using more pure HTML and less react-bootstrap, if it does save bundle size.

Demo on GH Pages: https://opuscapita.github.io/react-crudeditor/branches/issue-285/?currentComponentName=ContractEditor&maxContainerWidth=100%25&showSidebar=false

estambakio-sc avatar Aug 13 '18 06:08 estambakio-sc