Skip to content

Mrityunjay20/Refs-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Refs Game

Welcome to the React Refs Game! This project is a simple game built with React, utilizing refs and portals for practice. The game demonstrates the usage of React features to manage and manipulate the DOM.

Table of Contents

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository:

    git clone https://github.com/Mrityunjay20/Refs-game
  2. Change into the project directory:

cd Refs-game
  1. Install dependencies:
npm install

Project Overview

Game Description The React Refs Game is a simple interactive game where the player can practice using React refs and portals. The game provides opportunities to understand how refs can be used to interact with DOM elements and how portals enable rendering components outside their parent hierarchy.

Key Features

Ref Interaction: Practice using refs to manipulate DOM elements.

Portal Usage: Understand the concept of portals by rendering components outside their parent hierarchy.

Simple Gameplay: Enjoy a straightforward game to reinforce the understanding of refs and portals.

Usage

npm run dev

About

Practice project using react refs and portals

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published