Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(WIP)Restruction plan #24

Closed
Rokt33r opened this issue Apr 23, 2016 · 0 comments
Closed

(WIP)Restruction plan #24

Rokt33r opened this issue Apr 23, 2016 · 0 comments

Comments

@Rokt33r
Copy link
Member

Rokt33r commented Apr 23, 2016

Using react-css-modules (v0.6.*)

Currently, stylesheets in Boostnote has been compiled separately from React Components.
It makes hard to manage style codes. If I remove a component, I have to find and delete the style code related it. It is so tiresome and annoying task. Therefore, there must be some unnecessary codes I haven't noticed.

To solve this problem, I'd been trying several CSS library for React app and react-css-modules seems to be the best.

From v0.6.* every React component in Boostnote will use react-css-modules.

Simplify state2prop function of Redux (v0.6.*)

As you see, the remap function in HomePage component looks so horrible. It is because I wasn't good at using Redux at that time.
I'm currently re-writing it overall and it will be shipped on v0.6.*.

Decouple app structure into backend and frontend

The current build is highly consolidated. While react stuffs are comming from webpack, moment, markdown-it are comming from node_modules. It makes hard to understand.

The solution is split backend code and frontend code.

Another benefit of this is that users will be able to host boostnote on internet.(I think it would be quite awesome.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant