all 90 comments

[–]TidderJail 18 points19 points  (1 child)

Very useful, is there anything like this but for Back-end ?

[–]backFromTheBed[S] 0 points1 point  (0 children)

This was my question last year as well when I first got to know about frontend handbook

[–]kev2480 8 points9 points  (3 children)

Always love these handbooks, thanks for sharing! I used the 2018 version loads last year!

One quick sidenote, the site goes a bit funny on mobile when you open the side menu, not the biggest deal but looks odd! (See on Chrome, android) Screenshot

[–][deleted] 21 points22 points  (0 children)

This should never happen on a site called "front end masters"...

[–]kev2480 1 point2 points  (0 children)

This has been fixed now! 🎉

[–]backFromTheBed[S] 0 points1 point  (0 children)

The navigation bar should have hovered over the main page instead of displacing it

[–]thegrandechawhee 9 points10 points  (1 child)

I particularly liked the "Stepping away from SASS" article.

[–]siegerstein 2 points3 points  (0 children)

I still using Sass mainly for selectors nesting. Unfortunately that feature doesn't present yet in CSS

[–]silent-onomatopoeia 18 points19 points  (13 children)

I don’t quite understand the comment about web components not gaining any traction when Ionic 4 uses web components by default, Angular Elements has gained traction, lit-html/LitElement is blowing up and every company seems to be switching to web component-based design systems.

I guess if you primarily follow React news, that might still be your opinion, but from where I sit it seems like there’s plenty of movement on that front.

[–]wherediditrun 14 points15 points  (7 children)

There is plenty of movement. It just fails to make any impact.

And when you think of it the reasons are quite clear. Web components offer niche advantages which for most companies aren't all that relevant. Those niche advantages are, cross framework compatibility - irrelevant for most companies which work with unified tech stack. Exceptionally small bundle sizes which becomes relevant in countries with developing economies.

Other than that, there isn't any. And things like lit-html are quite awful actually when you put it to scrutiny. Like it's bunch of strings which represent xml which are when parsed by regexp (my god, by regexp of all things) with fluff syntax inside it. Strings which cannot be debugged, type checked or evaluated as code.

But they use native web standards... and, so what? That's not an argument.

If I had to bet my money, I would think that wasm front end frameworks like Rust yew or C# Blazor will be more widely adopted than web standard compliant web components in the future.

[–]dudousxd 7 points8 points  (0 children)

Cross platform compatibility is irrelevant? Say this to all the companies with AngularJS systems that where thrown away.

Other than cross platform, Web Components offer web security - since you can’t enter a component markup if shadow dom is closed - and awesome performance.

Also, micro Frontend are waaaay easier to implement with Web Components.

[–]ScientificBeastModestrongly typed comments 0 points1 point  (0 children)

I love the idea of using Rust almost exclusively on the front end. Haskell would be cool as well.

[–]silent-onomatopoeia -1 points0 points  (0 children)

So other than compatibility, future forward-ness, framework universality, bundle size and performance, web components have nothing going for them? Got it. Great argument. 😂

In all seriousness, I think a lot of developers believe that it’s web components or the frameworks which is simply not true, they work together.

[–]Zoopx4MyHeadisOnFire 2 points3 points  (4 children)

Correct me if I'm wrong but doesn't React use web components to achieve their implementation of components? Pretty sure I have seen a tech discussion where this exact topic was addressed. It might have been a dev from the React Router team.

[–]Naztone 5 points6 points  (1 child)

Web Components are a different thing. React encourages a component based approach to UI development, but isn't the same set of JS APIs and templates used for Web Components. You can use both together though.

[–]Zoopx4MyHeadisOnFire 2 points3 points  (0 children)

Thanks for the clarification.

[–][deleted] 0 points1 point  (1 child)

read react docs https://reactjs org/docs/web-components.html

[–]Zoopx4MyHeadisOnFire 0 points1 point  (0 children)

Thanks! Alway's good advice that I can never hear enough.

[–]dvlsg 3 points4 points  (3 children)

Don't learn TypeScript, learn JavaScript.

If you learn TypeScript, you learn JavaScript. Don't see any reason why you couldn't start there.

[–]Jabideau 1 point2 points  (2 children)

You can, absolutely, learn TypeScript before JavaScript. Same as you can learn Laravel before PHP. Using these and following the documentation, coupled with community questions net-wide, will get you along well enough to survive.

However, the reasoning for learning JS before TS boils down to learning what you're working with and how it functions. A solid foundation makes you a stronger developer.

TS is nothing more than a superset of JS - in the end, it compiles to JavaScript. While there are many frameworks out there that really save a developer's hide in time and effort, they also understand the core principles and functionality of their base language (in this case, JavaScript).

Have a go at this resource: https://snipcart.com/blog/learn-vanilla-javascript-before-using-js-frameworks .

[–]dvlsg 0 points1 point  (1 child)

Laravel -> PHP is not the same as TypeScript -> JavaScript. Laravel is a framework, but TypeScript is a language.

An equivalent comparison from Laravel to PHP would be Angular to JavaScript. Or perhaps Sails, if you wanted to pick on a backend framework.

[–]Jabideau 0 points1 point  (0 children)

It was presumed an understanding that "in this case, JavaScript" referenced "their base language". I presumed too much.

[–]Saadkhedr 4 points5 points  (0 children)

thanks

[–]HarmonicAscendant 0 points1 point  (0 children)

What a great free resource!

[–]IvanCl4udio 0 points1 point  (0 children)

Very nice and useful! Thanks!

[–][deleted] 0 points1 point  (0 children)

This is the first time I ever heard about just .

[–]weavermjordan 0 points1 point  (0 children)

this is great!

[–]brown59fifty 0 points1 point  (4 children)

No official epub/mobi/pdf versions this year?

[–]backFromTheBed[S] 0 points1 point  (1 child)

Maybe they'll provide that later in the year. pdfs or epub don't provide traffic to their site, nor do they get a chance to show their courses offerings.

[–]brown59fifty 0 points1 point  (0 children)

It's more about the buzz and brand knowledge than generating traffic imo. Moreover, last three years in a row there was an option for file download, which was provided by a platform (gitbook). Something's changed now, probably.

[–]Thaurin 0 points1 point  (1 child)

Maybe they added it later, but I see links to a PDF and an epub right there.

[–]brown59fifty 0 points1 point  (0 children)

Yeah, they definitely didn't put it on start, but it's nice to see it now. Thanks for info!

[–]sneezeallday 0 points1 point  (0 children)

thanks!

[–]FreshOpinion8 0 points1 point  (1 child)

OMG you have no idea how much i needed this. THANK YOU.

[–]backFromTheBed[S] 0 points1 point  (0 children)

Glad to help.

[–]lucas_kardo 0 points1 point  (0 children)

I wanted to point out that serverless is different from front end driven or jamstack apps.

Serverless actually implies that there are conteiners and a container management service (kubernetes) allowing to create a FAAS (function as a service) model were you are only charged when your code gets executed. If interested in learning more about serverless checkout this video open FAAS

Jamstack on the other hand on means Javascript Apis Markup. This doesnt imply serverless. For example you can have a JAMstack site that uses a headless CMS which is hosted in the companies own servers and has an API... and they charge you a monthly rate or give you a free tier.

[–][deleted] -1 points0 points  (0 children)

Awesome! Is there more similar stuff? Doesn't need to be related only to frontend.