Skip to content

Instantly share code, notes, and snippets.

View 3tmaan's full-sized avatar

Othmane Abisourour 3tmaan

  • vidIQ
View GitHub Profile
# Privacy Policy for GetZoned
**Last Updated:** February 2026
## Overview
GetZoned ("Extension", "we", "us", or "our") is committed to protecting your privacy. This Privacy Policy explains our data practices.
## Data Collection and Use
import React from 'react';
import Profile from 'components/Profile';
const Dashboard = (props) => {
const { user } = props;
return (
<Profile user={ user } />
);
};
import React from 'react';
import Resource from 'components/Resource';
const UserProfile = () => (
<Resource
path='api/profile' render={ data => {
if (data.loading) return <p>Loading Profil…</p>
return (
<form>
<label>Name</label>
import React from 'react';
import Resource from 'components/Resource';
const KittenFeed = () => (
<Resource
path='api/kittens' render={ data => {
if (data.loading) return <p>Loading Kittens…</p>
return data.paypload.map(kitten => <div>{ kitten }</div>)
}}
/>
import React from 'react';
import Resource from 'components/Resource';
const PuppyFeed = () => (
<Resource
path='api/puppies' render={ data => {
if (data.loading) return <p>Loading Puppies…</p>
return data.paypload.map(puppy => <div>{ puppy }</div>)
}}
/>
import React from 'react';
class Resource extends React.Component {
state = {
loading: false,
payload: []
}
componentDidMount() {
this.setState({ loading: true })
import React from 'react';
import WeatherWidget from 'components/WeatherWidget';
class WeatherWidgetContainer extends React.Component {
state = { weather: null }
componentDidMount() {
// fetch weather data
getWeather().then(weather => {
this.setState({ weather })
import React from 'react';
const WeatherWidget = (props) => {
const { weather } = props;
return (
<div>
<h1>{ weather.city } - { weather.country }</h1>
<ul>
<li>{ weather.temp }</li>
<li>{ weather.description }</li>
import React from 'react';
class WeatherWidget extends React.Component {
state = { weather: null }
componentDidMount() {
// fetch weather data
getWeather().then(weather => {
this.setState({ weather })
})
import React from 'react';
const Profile = () => {
return (
// consume the value holds by the Context's Provider
<React.Consumer>
{ value => <p>{ value.user.name }</p> }
</React.Consumer>
);