
Introducing KnowCSS, the NoCSS Engine. Never create a CSS file again. div know=“^sm{hover((font-size-anything))}” Created by @jaydoublay to make life easier.
Joined June 2021
- Tweets47
- Following480
- Followers34
- Likes16
In my ongoing choice to build my own React/jQuery library, today I've recreated React's useEffect in 4 lines of code -> declare object, find all effects to append, wait for DOM updates, trigger effects. That brings my library to 23.7kb and a total of 8.76ms added to page load.
1
50
How do you remember the order of
padding: 10px 10px 10px 10px
I always think north east south west
I also heard someone picture it like a clock
It's a javascript that converts know="x" to x{} in browser. It takes about ~10-20ms to run in browser for a standard size page. With it, you can run a site without a .css file... if you inject new html into the page, it creates the new css on the fly too.
1
10
Creating my own version of jQuery/React has saved me countless hours & headaches. I am tempted to release my library for public usage but I hate spending time on user guide documentation! #javascript #dev #jquery #react
With KnowCSS, reverting 1 or more properties is a breeze. Prefix or suffix any property with initial/inherit/revert/unset or group multiple together by {}. Keep your code simple, clean, organized, and readable.
21
Replying to @bryhutch
Left a small (sinking ship) local company that refused to modernize after 21 years there to go fully remote at a global company with a small, concise tech team.
1
Anyone else assign words/phrases to symbols to simplify reading code in your head? Arrow functions symbol => is “goes to” in my head.
(a)=>a+1
“a goes to a plus one”
1
The best part of building an all-inclusive css replacement is discovering all the finer nuances of css itself.
Rewriting a set of functions taking 10-15ms with large data sets to take 5-10ms.. this is important.
1










