Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Best Practices (Frontend)

Philip London edited this page Mar 16, 2020 · 6 revisions

About

The majority of work in the web wallet happens in blockchain-wallet-v4-frontend.

Project structure

This directory contains locale resources and images

  • images
  • locales

This directory contains shared/reusable components across the project. Don't be too eager to add components here, to qualify as a shared/reusable component you should be using it in at least 3 places.

  • Alerts
  • Announcements
  • Balances
  • ...

The data folder contains different redux modules specific to the front-end behavior.

It also encapsulates the redux modules available in the core.

  • alerts
  • analytics
  • auth
  • balance
  • (components)[#components]
  • ...

The data/components folder contains redux modules that correspond to scenes and modals in the frontend. Each folder should contain the following:

Clone this wiki locally