JS.weekly() => #27

JavaScripting.com
JS.weekly()
Published in
1 min readFeb 8, 2019

Here are the top three articles we found interesting this week:

The “Backendification” of Frontend Development

“In general, my suggestion is simply to adopt coding practices that enforce a strong separation of concerns. Reduced to an easy set of rules, I would say:

1. Never put anything into your template that isn’t a direct reference to pre-computed data, methods, or components.

2. Only apply styles through classes of your own design and avoid using style attributes at all costs.”

CSS Position Sticky — How It Really Works!

Here is the point: “When you define an element with position: sticky you’re automatically defining the parent element as a sticky container!”

React v16.8: The One With Hooks

Yes! Starting with 16.8.0, React includes a stable implementation of React Hooks for:

  • React DOM
  • React DOM Server
  • React Test Renderer
  • React Shallow Renderer

There is always something interesting on Twitter:

We are adding new libraries to JavaScripting.com every week. Here is one worth checking out:

Docx

Easily generate .docx files with JS/TS with a solid API. Works for Node and on the Browser.

JS.weekly() is a weekly digest of the best JavaScript articles, hand-picked by our experts in the JavaScripting community, sponsored by Salsita Software. Don’t forget to follow us on Twitter.

--

--

JavaScripting.com
JS.weekly()

The best JavaScript, web development and general programming articles of the day. Sponsored by Salsita Software (http://www.salsitasoft.com)