This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import Profile from 'components/Profile'; | |
| const Dashboard = (props) => { | |
| const { user } = props; | |
| return ( | |
| <Profile user={ user } /> | |
| ); | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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>) | |
| }} | |
| /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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>) | |
| }} | |
| /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| class Resource extends React.Component { | |
| state = { | |
| loading: false, | |
| payload: [] | |
| } | |
| componentDidMount() { | |
| this.setState({ loading: true }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| class WeatherWidget extends React.Component { | |
| state = { weather: null } | |
| componentDidMount() { | |
| // fetch weather data | |
| getWeather().then(weather => { | |
| this.setState({ weather }) | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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> | |
| ); |
NewerOlder