Ghost/ghost/portal/src
Rish 487bea51b2 Refactored code structure using react context
ref https://github.com/TryGhost/members.js/issues/5

React context allows us cleaner setup in codebase with shared data and methods across components at different nesting levels. This should allow faster iteration and easier development going forward.

- Uses Parent context for shared data and methods across different components instead of passed down props
- Uses new `init` method in API for data initialization
- Removes `PopupMenu` component in favor of `PopupModal`
- Adds new test util for custom render for easier base setup - https://testing-library.com/docs/react-testing-library/setup#custom-render
- Updates tests to use new test util for easier test setup
2020-04-28 01:10:08 +05:30
..
components Refactored code structure using react context 2020-04-28 01:10:08 +05:30
images Added basic styles 2020-04-06 11:25:04 +02:00
test/fixtures Refactored fixutres data for site and member 2020-04-23 12:43:28 +05:30
utils Refactored code structure using react context 2020-04-28 01:10:08 +05:30
App.css Added basic styles 2020-04-06 11:25:04 +02:00
App.js Removed unused name prop in App 2020-04-14 12:42:35 +05:30
App.test.js Refactored code structure using react context 2020-04-28 01:10:08 +05:30
index.css Initialize project using Create React App 2020-03-24 18:37:04 +05:30
index.js Fixed token handling in url for magic-link 2020-04-23 20:46:14 +05:30
logo.svg Initialize project using Create React App 2020-03-24 18:37:04 +05:30
setupTests.js Initialize project using Create React App 2020-03-24 18:37:04 +05:30