All You Need To Know About CSS-in-JS π
Thinking in components β No longer do you have to maintain bunch of style-sheets. CSS-in-JS abstracts the CSS model to the component level, rather than the document level (modularity). π
What is CSS-in-JSβ
JSS is a more powerful abstraction over CSS. π¦
It uses JavaScript as a language to describe styles in a declarative and maintainable way. π£
It is a high performance JS to CSS compiler which works at runtime and server-side. π
This core library is low level and framework agnostic. β¨
It is about 6KB (minified and gzipped) and is extensible via plugins API. π
https://t.me/pgimg/141
[ Article ] : kutt.it/jss
γ°γ°γ°γ°γ°γ°
#CSS #JavaScript #JSS
@ProgrammingTip
Thinking in components β No longer do you have to maintain bunch of style-sheets. CSS-in-JS abstracts the CSS model to the component level, rather than the document level (modularity). π
What is CSS-in-JSβ
JSS is a more powerful abstraction over CSS. π¦
It uses JavaScript as a language to describe styles in a declarative and maintainable way. π£
It is a high performance JS to CSS compiler which works at runtime and server-side. π
This core library is low level and framework agnostic. β¨
It is about 6KB (minified and gzipped) and is extensible via plugins API. π
https://t.me/pgimg/141
[ Article ] : kutt.it/jss
γ°γ°γ°γ°γ°γ°
#CSS #JavaScript #JSS
@ProgrammingTip
Telegram
Programming Tips Resources
How to Stop Using Callbacks and Start Living βοΈ
Javascript has two major ways of dealing with asynchronous tasks - callbacks and Promises. π€
In general Promises are considered easier to use and to maintain than callbacks. β
But in reality even Promises alone wonβt make you happy. π€¬
Asynchronous code may still be quite difficult to read and to understand. π€―
Therefore third-party libraries, e.g. co, provided means to write a synchronous-like asynchronous code. π
I personally prefer everything in the world to be as clear and beautiful as redux-saga. β¨
But not everybody is lucky to work with React and Redux to be able to use sagas. βοΈ
This article will show that in modern Javascript it is not difficult to write a well structured and easy to understand asynchronous code without using any third-party libraries.π
https://t.me/pgimg/146
[ Article ] : kutt.it/call
γ°γ°γ°γ°γ°γ°
#JavaScript #CleanCode
@ProgrammingTip
Javascript has two major ways of dealing with asynchronous tasks - callbacks and Promises. π€
In general Promises are considered easier to use and to maintain than callbacks. β
But in reality even Promises alone wonβt make you happy. π€¬
Asynchronous code may still be quite difficult to read and to understand. π€―
Therefore third-party libraries, e.g. co, provided means to write a synchronous-like asynchronous code. π
I personally prefer everything in the world to be as clear and beautiful as redux-saga. β¨
But not everybody is lucky to work with React and Redux to be able to use sagas. βοΈ
This article will show that in modern Javascript it is not difficult to write a well structured and easy to understand asynchronous code without using any third-party libraries.π
https://t.me/pgimg/146
[ Article ] : kutt.it/call
γ°γ°γ°γ°γ°γ°
#JavaScript #CleanCode
@ProgrammingTip
Telegram
Programming Tips Resources