GithubHelp home page GithubHelp logo

rishabh130498 / language_selector Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 222 KB

Just a language Selector component which shows form on the basis of selected native languages

HTML 36.63% JavaScript 63.37%
reactjs contextprovider widget

language_selector's Introduction

language_selector

Just a language Selector which shows language and button colour on the basis of selected country flags

There are two methods of passing data into context object-

  1. using Default value
  2. using ContextName.Provider

There are also two methods of getting data out of context object -

  1. using this.context (i) First make a const contextType = ContextName(from your context directory) (ii) Then use {this.context} to get the value out of context object

  2. using ContextName.Consumer (i) this will return a child which is a function that will called automatically in some point in time in future (ii) this is also used in case we have multiple context objects

TIP : We cannot use this.context if we have multiple objects

language_selector's People

Contributors

rishabh130498 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.