mirror of
https://github.com/FranP-code/countries.git
synced 2025-10-13 00:02:15 +00:00
Use new gif
This commit is contained in:
@@ -137,7 +137,7 @@ ReactDOM.render(<CountrySelect />, document.getElementById('root'));
|
||||
|
||||
### 4. Profit 🎉
|
||||
|
||||

|
||||

|
||||
|
||||
Now you've got a slick, self-contained country select component that only fetches its data when it's mounted. That means that if it exists within an unmounted route or the falsey end of a condition, it doesn't request any data or take up any extra space in your bundle.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user