[] Search Page
[] UnitTesting the Pages
[] before confirm the order show the list for order item and total price
Fields that aren't defined in GraphQL Schema "Apollo can handle local state"
It's state is not in your sever but hope staying in your application.abs
If can't change the value ? It's kinda useless
Reactive varibales Click Here For Detail
Use React Hook Form
Calling mutation
after pass the user save the token on localstorage and apollo var
Focusing the output not a implemetation
setting the jest
"jest":{ "collectCoverageFrom": [ "./src/components//*.tsx", "./src/pages//.tsx", "./src/routers/**/.tsx" ] }
Check the script to coverage
mocks={[
{
request: {
query: ME_QUERY,
},
result: {
data: {
me: {
id: 1,
email: "",
role: "",
verified: true,
},
},
},
},
]}
Can E2E test on mac windows Linux
Download Cypress
Download cypress testing libaray
window() get a object from active webpage
its() The objects porperties from have got before
cy.wait("Can user wait time")Command Check here
Spy or Mock the request and response Site
Ending the response with res.send()
Restaurants
Restaurant
Dish
[] Need to do it later after deploying webpage
for paying and buying thigns providingPaddle
Sign in with Sass,and No new revenue !
On their homepage they suggest Catalog
Share the dish component with owner and client
give one more props for checking owner or client
keep in mind the dish page is shared on owner and client
when you pass the props have to configure those cases
Setting SubsCriptions npm install subscriptions-transport-ws(Defends on your backend "graphql-ws or this one")Check here
Subscribe To More
Google Map React
google-map-react는 Google Maps API의 작은 세트를 통해 작성된 - 구성요소입니다. Google 지도에서 모든 React 구성 요소를 렌더링할 수 있습니다.
Maps JavaScript API 생성 Google Colud API
사용자 인증 정보 사용자 인증 정보 만들기 - API 키 생성 Google Cloud Credential
Geolocation.watchPosition()
장치의 위치가 바뀔 때마다, 자동으로 새로운 위치를 사용해 호출할 처리기 함수를 등록합니다. Mdn-GeoLocation
navigator.geolocation.watchPosition(success[, error[, options]])
success콜백함수와 error콜백함수의 파라미터로 Position대신 GeolocationPosition, PositionError대신 GeolocationPositionError로 사용할 수 있습니다.
Maps