Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 2.04 KB

frontend.md

File metadata and controls

32 lines (21 loc) · 2.04 KB

⚛ Front-End Development

Before doing any development in the front-end, ensure that Node.js is installed. To install Node.js, you can do one of the following:

For bundling, we use Webpack via the webpacker since the backend is Ruby on Rails.

There is some legacy code which is old school JS, but for all things new, Preact is where it's at. If you're new to Preact, check out their documentation. Also, consider following the #preact tag on dev.to.

👷‍ Building components

We use Storybook to develop components. It allows you to focus on building components without the burden of the whole application running. If you're new to Storybook, check out their documentation. Also, consider following the #storybook tag on dev.to.

To get Storybook running on your local:

  • 📦 Run npm install or yarn to ensure all your dependencies are installed.
  • 🏁 Run npm run storybook or yarn storybook to start Storybook.
  • 🏗️ Start working on your component and see the changes in Storybook as you save.

Browser Support

Chrome >= 59

Firefox >= 52

Safari >= 10

Opera >= 50

Edge >= 16

We do not officially support any version of IE or any browser not listed here, but don't go out of your way to not support it! And if there is anything we should change about this, open an issue.