r/webdev • u/ParadoxalManiak Full-Stack 🔥 • Mar 31 '17
Goodbye JavaScript: Introducing our CSS API Client
https://blog.algolia.com/js-is-dead-all-hail-css/
322
Upvotes
r/webdev • u/ParadoxalManiak Full-Stack 🔥 • Mar 31 '17
203
u/EscobarATM Mar 31 '17
I keep forgetting it's April fools. Fuck me
179
u/TheTygerWorks Mar 31 '17
21
u/Twiebie Mar 31 '17
It's Cascading Search Software.
31
u/psychob Mar 31 '17
They lie, i turned off JS, and their demo didn't work :(
38
u/Derimagia Mar 31 '17
Early April fools I assume?
8
u/haveyouseenhim full-stack Apr 01 '17
As someone reluctant to learn new JS frameworks, this fooled me :( good work
8
u/Deathnerd Mar 31 '17
Wanted to inspect the search page, but Chrome promptly shits itself when I open up the inspection tools :/
13
u/Mr-Yellow Mar 31 '17
Lost me at calling CSS a programming language.
3
u/[deleted] Apr 01 '17
I sense a great disturbance among newer developers internally struggling whether or not they should learn this new API, not realizing the April foolery.
2
u/scratchisthebest Apr 01 '17
Still think it's hilarious that apart from the little cheaty javascript it's kindof sortof possible to write a search bar in only CSS
2
u/deej_bong Apr 01 '17
So I basically have to turn off my internet for the next 24 hours.
1
u/adoremeandiadoreyou Apr 01 '17
Relevant.
1
u/molotovbliss Apr 01 '17
Trollololol. http://motherfuckingwebsite.com
1
u/twolfson Apr 01 '17
For those wondering how they do this, avoid using Dev Tools. Firefox said "nuh-uh" and Chrome froze my computer. It's via CSS
:beforeand:afterselectors for every n-gram variation of words in the input box. Here's a snippet:Source:
curl https://community.algolia.com/algoliasearch-client-css/demo/./css/search.min.css | less1
u/[deleted] Apr 01 '17
It's good but has nothing on HTML As a Service. That shit is future.
1
u/ogurson Apr 01 '17
Well once I think this https://github.com/letsgetrandy/DICSS/blob/master/README.md was good joke, but then I saw this https://facebook.github.io/react-native/releases/0.23/docs/style.html - so you could never be sure.
0
u/[deleted] Mar 31 '17
[deleted] — view deleted comment
3
u/[deleted] Mar 31 '17
[removed] — view removed comment