قابل پیشبینی بود
فقط ۳ روز دیگه کنفرانس نکست بود ولی ری اکت با خبر انتشار نسخه ۱۸ بنظرم کمی عرض اندام کرد حالا چرا همچین چیزی گفتم چون فاصله ریاکت ۱۶ به ۱۷ ، ۲ سال و نیم بود ولی ۱۷ به ۱۸ کمتر از ۱ ساله ! و دقیقا ام ۱۱ June این خبر اعلام شده ! درست ۳ ۴ روز قبل کنفرانس نکست ! و البته با فیچری که قبلا اعلام کرده بود و اسمش server components بود ، حالا در نسخه ۱۸ اعلام کرده که چندین قابلیت جدید به ری اکت اضافه شده
ری اکت نسخه ۱۸ !فقط ۳ روز دیگه کنفرانس نکست بود ولی ری اکت با خبر انتشار نسخه ۱۸ بنظرم کمی عرض اندام کرد حالا چرا همچین چیزی گفتم چون فاصله ریاکت ۱۶ به ۱۷ ، ۲ سال و نیم بود ولی ۱۷ به ۱۸ کمتر از ۱ ساله ! و دقیقا ام ۱۱ June این خبر اعلام شده ! درست ۳ ۴ روز قبل کنفرانس نکست ! و البته با فیچری که قبلا اعلام کرده بود و اسمش server components بود ، حالا در نسخه ۱۸ اعلام کرده که چندین قابلیت جدید به ری اکت اضافه شده
1- A form element becomes controlled if you set its value via a prop. That’s all.
2- in
3- in
4- In React, an
5- With an uncontrolled component, you often want React to specify the initial value, but leave subsequent updates uncontrolled. To handle this case, you can specify a
-------
https://goshakkk.name/controlled-vs-uncontrolled-inputs-react/
#react
2- in
Uncontrolled inputs , you have to ‘pull’ the value from the field when you need it.3- in
Controlled inputs , the system mechanism ‘pushes’ the value changes to the form component.4- In React, an
<input type="file" /> is always an uncontrolled component because its value can only be set by a user, and not programmatically.5- With an uncontrolled component, you often want React to specify the initial value, but leave subsequent updates uncontrolled. To handle this case, you can specify a
defaultValue attribute instead of value. Changing the value of defaultValue attribute after a component has mounted will not cause any update of the value in the DOM.-------
https://goshakkk.name/controlled-vs-uncontrolled-inputs-react/
#react
React.PropTypes has moved into a different package since React v15.5. Please use the prop-types library instead.As your app grows, you can catch a lot of bugs with typechecking. For some applications, you can use JavaScript extensions like Flow or TypeScript to typecheck your whole application. But even if you don’t use those, React has some built-in typechecking abilities.
For performance reasons, propTypes is only checked in
development mode.The
propTypes typechecking happens after defaultProps are resolved, so typechecking will also apply to the defaultProps.#react #proptypes
StrictMode is a tool for highlighting potential problems in an application. Like Fragment, StrictMode does not render any visible UI. It activates additional checks and warnings for its descendants.Strict mode checks are run in development mode only; they do not impact the production build.StrictMode currently helps with:
-Identifying components with unsafe lifecycles
-Warning about legacy string ref API usage
-Warning about deprecated findDOMNode usage
-Detecting unexpected side effects
-Detecting legacy context API
#react
Media is too big
VIEW IN TELEGRAM
Senior_React_Interview_Code_Challenge
این ویدیو رو ببینید تا متوجه بشید توی مصاحبههای استخدامی حتی در سطح senior ، قرار نیست شاخ غول بشکونید.
نیاز نیست همه چیز رو یاد بگیرید ، فقط چیزایی که بلدید رو خوب بلد باشید و بیشتر
#react #react_interview
این ویدیو رو ببینید تا متوجه بشید توی مصاحبههای استخدامی حتی در سطح senior ، قرار نیست شاخ غول بشکونید.
نیاز نیست همه چیز رو یاد بگیرید ، فقط چیزایی که بلدید رو خوب بلد باشید و بیشتر
قدرت حل مساله رو توی خودتون تقویت کنید.#react #react_interview
Media is too big
VIEW IN TELEGRAM
افزایش سرعت صفحات nextjs
توی یک صفحه ساده حجم لود کاربر رو از 455 به 20 میرسونه و این خیلی کاهش زیادیه.
تکنیکی که استفاده میکنه رو توی داکیومنت خودش هم پیدا نکردم ، احتمالا به خاطر اینکه هنوز حالت آزمایشی داره ولی خب خیلی جوابه.
#nextjs
توی یک صفحه ساده حجم لود کاربر رو از 455 به 20 میرسونه و این خیلی کاهش زیادیه.
تکنیکی که استفاده میکنه رو توی داکیومنت خودش هم پیدا نکردم ، احتمالا به خاطر اینکه هنوز حالت آزمایشی داره ولی خب خیلی جوابه.
#nextjs
آقااااا این Sanity چه قدر خوبه. اگر حس بک اند و دیتابیس زدن ندارید برید سراغش. ماشاالله از هر انگشتش یه هنر میباره 😍😍
فرانتاند کارای گرامی.... یه نگاهی به JAMstack بندازید ضرر نمیکنید.
#jamstack
#jamstack