GitHub drops Atom editor
GitHub, which is owned by Microsoft, plans to drop the open-source editor. The reason given is that they want to focus on cloud-based software. However, this is contrary to what Microsoft said when they acquired GitHub in 2018. The CEO of the time said that “Atom is a fantastic editor with a healthy community, adoring fans, excellent design, and a promising foray into real-time collaboration.” In the years that followed the acquisition, Atom didn’t receive any major developments, other than maintenance and security updates.
React 18 has been released
React 18 has been released, with some big improvements!
ReactDOM.render
ReactDOM.render is no longer supported. Instead, we have createRoot. React 18 introduces a new root API that provides better ergonomics for managing roots.
Previously we had code such as:
import { render } from 'react-dom';
const container = document.getElementById('app');
render(<App tab = "home" />, container);
This will now be written as:
import { createRoot } from 'react-dom/client';
const container = document.getElementById('app');
const root = createRoot(container);
root.render(<App tab = "home" />);