All important facts about React Hooks……getting started with them!!

Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.

Hooks are functions that let you “hook into” React state and lifecycle features from function components.

  • It’s hard to reuse stateful logic between components.
  • Complex components become hard to understand.
  • Classes confuse both people and machines.(know this pt. in detail…….click here)
  1. Always call Hooks at the top level.
  2. Only call Hooks from React functions

📌 State Hook

Hook state is the new way of declaring a state in React app. Hook uses useState() functional component for setting and retrieving state.

import React…

“Playing with GPT-3 feels like seeing the future,” Arram Sabeti, a San Francisco–based developer and artist, tweeted last week.

What is GPT-3 ??

Generative Pre-trained Transformer 3 (GPT-3) is an auto-regressive language model that uses deep learning to produce human-like text. It is the third-generation language prediction model in the GPT-n series created by OpenAI, a San Francisco-based artificial intelligence research laboratory. GPT-3’s full version has a capacity of 175 billion machine learning parameters, which is over two orders of magnitude greater than that of its predecessor, GPT-2.

GPT 3 is capable to do things like it can write poetry, capable of translating

What is Artificial Intelligence(AI)?

In computer science, artificial intelligence (AI), sometimes called machine intelligence, is intelligence demonstrated by machines, unlike the natural intelligence displayed by humans.Leading AI textbooks define the field as the study of “intelligent agents”: any device that perceives its environment and takes actions that maximize its chance of successfully achieving its goals. Colloquially, the term “artificial intelligence” is often used to describe machines (or computers) that mimic “cognitive” functions that humans associate with the human minds, such as “learning” and “problem solving”.

for more info on AI….LINK

Mayank Rajput

Tech enthusiast | Developer | Learner

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store