/InWhichILearnReact

It's a repository in which I'm learning React, it's shared in case it's useful for anyone else

Primary LanguageTypeScriptMIT LicenseMIT

InWhichILearnReact

It's a repository in which I'm learning React, it's shared in case it's useful for anyone else

GitHub commit activity CI Status CodeQL

Built With

(back to top)

Stuff I'm thinking about

The notes below are primarily for me to keep track of what I'm thinking about, but as I'm a big fan of knowledge in the world, not knowledge in the head, I thought I should share them with the world here.

Styling and Theming

I'm learning React to build Enterprise scalable web applications. There's a lot of cool technologies I want to use but I have concerns about anything that is going to add a marginal performance hit that could then scale up to be a noticeable performance hit as I scale up apps.

So while having come from an Angular Background the mental model of Styled Components is pretty appealing to me, with some qualifiers:

I'm a little concerned about the potential performance hit:

Now while there are some really promising looking strategies to address this:

For the time being I have a lot of other React stuff to be thinking about so I'm going to stick with nice straightforward BEM based styling and worry about potentially refactoring it to something smarter later. For more on BEM check out this piece on why BEM and if it's interesting to you there's more here under getting your head around BEM syntax.

I'm also thinking that if I want to build to scale then I don't necessarily want to be builfing everything from the ground up, so on my list of other things to look at are:

(back to top)

Running This Project

Installation

npm install

Usage

npm run start

Run tests

npm run test

License

MIT License

Author

👤 TimDMorris

(back to top)

Acknowledgements

(back to top)