Posts
Q&A
์๋ ํ์ธ์, ์ง๋ฌธ์ด ์์ต๋๋ค.
index.js:1 Warning: Updating a style property during rerender (background) when a conflicting property is set (backgroundPosition) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values. ์ค๋ฅ ๋ด์ฉ์ ๋ฒ์ญํด ๋ณด๋ฉด background์ ๊ด๋ จ๋ ์์ฑ๊ฐ๋ค์ ์ถ์ฝ๋ ํํ(shorthand)๋ก ์์ด ์ฐ์ง ๋ง๋ผ๋ ์๋ฏธ์ ๋๋ค. background: `linear-gradient(to bottom, rgba(0,0,0,0) 39%, rgba(0,0,0,0) 41%, rgba(0,0,0,0.65) 100%), url('${props.image}'), #1c1c1c`, backgroundSize: '100%, cover', backgroundPosition: 'center, center', // ์์ ๊ฐ์ด ์ถ์ฝ๋ ์์ฑ๊ณผ ์ถ์ฝ๋์ง ์์ ์์ฑ์ด ์์ฌ์ ์์ฑ๋ ์์ฑ๋ค์ ๋ชจ๋ ์ถ์ฝ๋์ง ์์ ํํ๋ก ๋ถ๋ฆฌ์ํค๋ฉด ์ค๋ฅ๊ฐ ๋ฐ์ํ์ง ์์ต๋๋ค. background: `linear-gradient(to bottom, rgba(0,0,0,0) 39%, rgba(0,0,0,0) 41%, rgba(0,0,0,0.65) 100%)`, backgroundColor: '#1c1c1c', backgroundImage: `url('${props.image}')`, backgroundSize: '100%, cover', backgroundPosition: 'center, center',
- Likes
- 0
- Comments
- 2
- Viewcount
- 906
Q&A
api url
๊ฐ์์์ ์ฌ์ฉ๋๊ณ ์๋ API๋ค์ themoviedb.org ์์ ์ ๊ณตํ๋ API๋ค์ ๋๋ค. API ์ ์ฒด ๋ชฉ๋ก์ ์๋ ๋งํฌ์์ ํ์ธํ์ค ์ ์์ต๋๋ค. https://developers.themoviedb.org/3
- Likes
- 0
- Comments
- 1
- Viewcount
- 466




