useState should require a dependency array, Stephenville airport shuttered, React Router Open Governance, 3D Meshes in Minecraft via Text Displays.
James Karlsson - useState should require a dependency array
React has a wonderful hook called
useStatethat we use to set and listen to things that might change over time.There’s a few points I’d like to argue here.
Simple concept,
function Component({ someProp }) {
// No error!
const [state, setState] = useState(someProp, [someProp]);
...
}
And honestly… yeah I could see this being nice.
I’ve written the ‘hacky’ versions of this before, i.e. the useEffect -> update, the non memo’d version, the just do it in the main loop approach.
I’d like this.
Troy Turner - Stephenville airport shuttered as power company pulls the plug
It’s lights out at the Stephenville Dymond International Airport, as Newfoundland Power confirmed that work is underway to disconnect electrical service at the facility.
When news first broke of the purchase / plans to invest $200 Million, me and some friends made a thread in our chat simply called ‘wtf is happening with the stephenville airport’.
Well, seems like a whole lot of nothing is happening if they can’t even pay to keep the lights on.
Matt Brophy & Brooks Lybrand - React Router Open Governance
React Router is moving to an Open Governance Model
3D Meshes with Text Displays in Minecraft
Rendering 3D meshes, 3D graphs, and marching cubes in Minecraft without resource packs.