├── .gitignore ├── LICENSE ├── README.md └── contents ├── __proto__-vs-prototype.mdx ├── a-vs-not-not-a.mdx ├── active-vs-focus.mdx ├── add-event-listener-function-vs-on-property.mdx ├── alt-vs-aria-label.mdx ├── alt-vs-title.mdx ├── animations-and-transitions.mdx ├── anonymous-vs-closure-functions.mdx ├── any-vs-unknown.mdx ├── append-vs-append-child.mdx ├── apply-vs-call.mdx ├── argument-vs-parameter.mdx ├── array-length-0-vs-array.mdx ├── arrow-vs-regular-function.mdx ├── b-i-vs-strong-em.mdx ├── blur-vs-focus-out.mdx ├── border-box-vs-content-box.mdx ├── border-vs-outline.mdx ├── button-vs-input-type-button.mdx ├── call-stack-vs-task-queue.mdx ├── caret-vs-tilde-in-package-json-file.mdx ├── ceil-vs-floor-vs-round.mdx ├── children-vs-child-nodes.mdx ├── class-vs-id.mdx ├── client-height-vs-offset-height-vs-scroll-height.mdx ├── client-y-vs-page-y.mdx ├── concat-vs-push.mdx ├── const-enum-vs-enum.mdx ├── const-vs-let-vs-var.mdx ├── const-vs-readonly.mdx ├── controlled-vs-uncontrolled-components.mdx ├── controlled-vs-uncontrolled-modes.mdx ├── cookie-vs-local-storage-vs-session-storage.mdx ├── create-document-fragment-vs-create-element.mdx ├── current-target-vs-target.mdx ├── d-ts-vs-ts.mdx ├── debouncing-vs-throttling.mdx ├── deep-compare-vs-shallow-compare.mdx ├── deep-copy-vs-shallow-copy.mdx ├── default-parameters-vs-or-operator.mdx ├── delete-object-property-vs-set-object-property-to-undefined.mdx ├── dev-vs-dev-dependencies-vs-peer-dependencies-in-package-json.mdx ├── display-none-vs-hidden-attribute.mdx ├── display-none-vs-opacity-0-vs-visibility-hidden.mdx ├── div-vs-section.mdx ├── dom-content-loaded-vs-load.mdx ├── double-quotes-vs-single-quote.mdx ├── dynamic-vs-static-node-list.mdx ├── element-vs-node.mdx ├── encode-uri-vs-encode-uri-component.mdx ├── equality-operator-vs-strict-equality-operator.mdx ├── eval-vs-new-function.mdx ├── event-bubbling-vs-capturing.mdx ├── event-prevent-default-vs-return-false.mdx ├── font-size-vs-line-height.mdx ├── for-in-vs-for-of.mdx ├── function-declaration-vs-function-expression.mdx ├── function-vs-property-in-interface.mdx ├── has-own-property-vs-in.mdx ├── html-entities-vs-unicode-characters.mdx ├── inner-text-vs-text-content.mdx ├── instanceof-vs-typeof.mdx ├── interface-vs-type.mdx ├── is-nan-vs-number-is-nan.mdx ├── javascript-events-vs-synthetic-react-events.mdx ├── key-vs-key-code-vs-which.mdx ├── keydown-vs-keypress-vs-keyup.mdx ├── keyof-vs-extends-keyof.mdx ├── literal-union-type-vs-string-enums.mdx ├── map-vs-weak-map.mdx ├── margin-vs-padding.mdx ├── method-in-class-constructor-vs-prototype.mdx ├── microtasks-vs-macrotasks.mdx ├── mouseenter-vs-mouseover.mdx ├── multiple-awaits-vs-promise-all.mdx ├── natural-width-vs-width.mdx ├── node-iterator-vs-tree-walker.mdx ├── node-name-vs-tag-name.mdx ├── normalize-vs-reset-css.mdx ├── null-vs-undefined.mdx ├── number-constructor-vs-parse-int.mdx ├── object-assign-vs-object-spread-operator.mdx ├── object-constructor-function-vs-object-literals.mdx ├── object-freeze-vs-object-seal.mdx ├── object-get-own-property-names-vs-object-keys.mdx ├── object-is-vs-strict-equality-operator.mdx ├── object-property-vs-object-define-property.mdx ├── object-property-with-vs-without-quotes.mdx ├── object-vs-map.mdx ├── parent-element-vs-parent-node.mdx ├── postfix-increment-vs-prefix-increment.mdx ├── preload-vs-prefetch.mdx ├── pseudo-classes-vs-pseudo-elements.mdx ├── react-create-element-vs-jsx.mdx ├── react-create-element-vs-react-clone-element.mdx ├── react-fragment-shorthand-vs-longhand.mdx ├── react-node-vs-react-element.mdx ├── react-use-effect-vs-react-use-layout-effect.mdx ├── react-use-state-vs-react-use-reducer.mdx ├── read-only-vs-read-only-array.mdx ├── resize-event-vs-resize-observer.mdx ├── script-async-vs-script-defer.mdx ├── set-interval-vs-set-timeout-vs-set-timeout-zero.mdx ├── set-vs-array.mdx ├── slice-vs-splice.mdx ├── standard-event-handler-vs-event-delegation.mdx ├── stateless-vs-stateful-components.mdx ├── stop-immediate-propagation-vs-stop-propagation.mdx ├── string-char-at-vs-string-bracket-notation.mdx ├── string-vs-string.mdx ├── style-width-vs-width.mdx ├── substr-vs-substring.mdx ├── undefined-vs-void.mdx ├── variable-undefined-vs-typeof-variable-undefined.mdx ├── void-vs-never.mdx └── word-break-break-all-vs-word-wrap-break-word.mdx /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/README.md -------------------------------------------------------------------------------- /contents/__proto__-vs-prototype.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/__proto__-vs-prototype.mdx -------------------------------------------------------------------------------- /contents/a-vs-not-not-a.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/a-vs-not-not-a.mdx -------------------------------------------------------------------------------- /contents/active-vs-focus.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/active-vs-focus.mdx -------------------------------------------------------------------------------- /contents/add-event-listener-function-vs-on-property.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/add-event-listener-function-vs-on-property.mdx -------------------------------------------------------------------------------- /contents/alt-vs-aria-label.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/alt-vs-aria-label.mdx -------------------------------------------------------------------------------- /contents/alt-vs-title.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/alt-vs-title.mdx -------------------------------------------------------------------------------- /contents/animations-and-transitions.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/animations-and-transitions.mdx -------------------------------------------------------------------------------- /contents/anonymous-vs-closure-functions.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/anonymous-vs-closure-functions.mdx -------------------------------------------------------------------------------- /contents/any-vs-unknown.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/any-vs-unknown.mdx -------------------------------------------------------------------------------- /contents/append-vs-append-child.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/append-vs-append-child.mdx -------------------------------------------------------------------------------- /contents/apply-vs-call.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/apply-vs-call.mdx -------------------------------------------------------------------------------- /contents/argument-vs-parameter.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/argument-vs-parameter.mdx -------------------------------------------------------------------------------- /contents/array-length-0-vs-array.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/array-length-0-vs-array.mdx -------------------------------------------------------------------------------- /contents/arrow-vs-regular-function.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/arrow-vs-regular-function.mdx -------------------------------------------------------------------------------- /contents/b-i-vs-strong-em.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/b-i-vs-strong-em.mdx -------------------------------------------------------------------------------- /contents/blur-vs-focus-out.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/blur-vs-focus-out.mdx -------------------------------------------------------------------------------- /contents/border-box-vs-content-box.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/border-box-vs-content-box.mdx -------------------------------------------------------------------------------- /contents/border-vs-outline.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/border-vs-outline.mdx -------------------------------------------------------------------------------- /contents/button-vs-input-type-button.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/button-vs-input-type-button.mdx -------------------------------------------------------------------------------- /contents/call-stack-vs-task-queue.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/call-stack-vs-task-queue.mdx -------------------------------------------------------------------------------- /contents/caret-vs-tilde-in-package-json-file.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/caret-vs-tilde-in-package-json-file.mdx -------------------------------------------------------------------------------- /contents/ceil-vs-floor-vs-round.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/ceil-vs-floor-vs-round.mdx -------------------------------------------------------------------------------- /contents/children-vs-child-nodes.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/children-vs-child-nodes.mdx -------------------------------------------------------------------------------- /contents/class-vs-id.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/class-vs-id.mdx -------------------------------------------------------------------------------- /contents/client-height-vs-offset-height-vs-scroll-height.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/client-height-vs-offset-height-vs-scroll-height.mdx -------------------------------------------------------------------------------- /contents/client-y-vs-page-y.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/client-y-vs-page-y.mdx -------------------------------------------------------------------------------- /contents/concat-vs-push.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/concat-vs-push.mdx -------------------------------------------------------------------------------- /contents/const-enum-vs-enum.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/const-enum-vs-enum.mdx -------------------------------------------------------------------------------- /contents/const-vs-let-vs-var.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/const-vs-let-vs-var.mdx -------------------------------------------------------------------------------- /contents/const-vs-readonly.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/const-vs-readonly.mdx -------------------------------------------------------------------------------- /contents/controlled-vs-uncontrolled-components.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/controlled-vs-uncontrolled-components.mdx -------------------------------------------------------------------------------- /contents/controlled-vs-uncontrolled-modes.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/controlled-vs-uncontrolled-modes.mdx -------------------------------------------------------------------------------- /contents/cookie-vs-local-storage-vs-session-storage.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/cookie-vs-local-storage-vs-session-storage.mdx -------------------------------------------------------------------------------- /contents/create-document-fragment-vs-create-element.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/create-document-fragment-vs-create-element.mdx -------------------------------------------------------------------------------- /contents/current-target-vs-target.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/current-target-vs-target.mdx -------------------------------------------------------------------------------- /contents/d-ts-vs-ts.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/d-ts-vs-ts.mdx -------------------------------------------------------------------------------- /contents/debouncing-vs-throttling.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/debouncing-vs-throttling.mdx -------------------------------------------------------------------------------- /contents/deep-compare-vs-shallow-compare.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/deep-compare-vs-shallow-compare.mdx -------------------------------------------------------------------------------- /contents/deep-copy-vs-shallow-copy.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/deep-copy-vs-shallow-copy.mdx -------------------------------------------------------------------------------- /contents/default-parameters-vs-or-operator.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/default-parameters-vs-or-operator.mdx -------------------------------------------------------------------------------- /contents/delete-object-property-vs-set-object-property-to-undefined.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/delete-object-property-vs-set-object-property-to-undefined.mdx -------------------------------------------------------------------------------- /contents/dev-vs-dev-dependencies-vs-peer-dependencies-in-package-json.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/dev-vs-dev-dependencies-vs-peer-dependencies-in-package-json.mdx -------------------------------------------------------------------------------- /contents/display-none-vs-hidden-attribute.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/display-none-vs-hidden-attribute.mdx -------------------------------------------------------------------------------- /contents/display-none-vs-opacity-0-vs-visibility-hidden.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/display-none-vs-opacity-0-vs-visibility-hidden.mdx -------------------------------------------------------------------------------- /contents/div-vs-section.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/div-vs-section.mdx -------------------------------------------------------------------------------- /contents/dom-content-loaded-vs-load.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/dom-content-loaded-vs-load.mdx -------------------------------------------------------------------------------- /contents/double-quotes-vs-single-quote.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/double-quotes-vs-single-quote.mdx -------------------------------------------------------------------------------- /contents/dynamic-vs-static-node-list.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/dynamic-vs-static-node-list.mdx -------------------------------------------------------------------------------- /contents/element-vs-node.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/element-vs-node.mdx -------------------------------------------------------------------------------- /contents/encode-uri-vs-encode-uri-component.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/encode-uri-vs-encode-uri-component.mdx -------------------------------------------------------------------------------- /contents/equality-operator-vs-strict-equality-operator.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/equality-operator-vs-strict-equality-operator.mdx -------------------------------------------------------------------------------- /contents/eval-vs-new-function.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/eval-vs-new-function.mdx -------------------------------------------------------------------------------- /contents/event-bubbling-vs-capturing.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/event-bubbling-vs-capturing.mdx -------------------------------------------------------------------------------- /contents/event-prevent-default-vs-return-false.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/event-prevent-default-vs-return-false.mdx -------------------------------------------------------------------------------- /contents/font-size-vs-line-height.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/font-size-vs-line-height.mdx -------------------------------------------------------------------------------- /contents/for-in-vs-for-of.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/for-in-vs-for-of.mdx -------------------------------------------------------------------------------- /contents/function-declaration-vs-function-expression.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/function-declaration-vs-function-expression.mdx -------------------------------------------------------------------------------- /contents/function-vs-property-in-interface.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/function-vs-property-in-interface.mdx -------------------------------------------------------------------------------- /contents/has-own-property-vs-in.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/has-own-property-vs-in.mdx -------------------------------------------------------------------------------- /contents/html-entities-vs-unicode-characters.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/html-entities-vs-unicode-characters.mdx -------------------------------------------------------------------------------- /contents/inner-text-vs-text-content.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/inner-text-vs-text-content.mdx -------------------------------------------------------------------------------- /contents/instanceof-vs-typeof.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/instanceof-vs-typeof.mdx -------------------------------------------------------------------------------- /contents/interface-vs-type.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/interface-vs-type.mdx -------------------------------------------------------------------------------- /contents/is-nan-vs-number-is-nan.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/is-nan-vs-number-is-nan.mdx -------------------------------------------------------------------------------- /contents/javascript-events-vs-synthetic-react-events.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/javascript-events-vs-synthetic-react-events.mdx -------------------------------------------------------------------------------- /contents/key-vs-key-code-vs-which.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/key-vs-key-code-vs-which.mdx -------------------------------------------------------------------------------- /contents/keydown-vs-keypress-vs-keyup.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/keydown-vs-keypress-vs-keyup.mdx -------------------------------------------------------------------------------- /contents/keyof-vs-extends-keyof.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/keyof-vs-extends-keyof.mdx -------------------------------------------------------------------------------- /contents/literal-union-type-vs-string-enums.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/literal-union-type-vs-string-enums.mdx -------------------------------------------------------------------------------- /contents/map-vs-weak-map.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/map-vs-weak-map.mdx -------------------------------------------------------------------------------- /contents/margin-vs-padding.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/margin-vs-padding.mdx -------------------------------------------------------------------------------- /contents/method-in-class-constructor-vs-prototype.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/method-in-class-constructor-vs-prototype.mdx -------------------------------------------------------------------------------- /contents/microtasks-vs-macrotasks.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/microtasks-vs-macrotasks.mdx -------------------------------------------------------------------------------- /contents/mouseenter-vs-mouseover.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/mouseenter-vs-mouseover.mdx -------------------------------------------------------------------------------- /contents/multiple-awaits-vs-promise-all.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/multiple-awaits-vs-promise-all.mdx -------------------------------------------------------------------------------- /contents/natural-width-vs-width.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/natural-width-vs-width.mdx -------------------------------------------------------------------------------- /contents/node-iterator-vs-tree-walker.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/node-iterator-vs-tree-walker.mdx -------------------------------------------------------------------------------- /contents/node-name-vs-tag-name.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/node-name-vs-tag-name.mdx -------------------------------------------------------------------------------- /contents/normalize-vs-reset-css.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/normalize-vs-reset-css.mdx -------------------------------------------------------------------------------- /contents/null-vs-undefined.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/null-vs-undefined.mdx -------------------------------------------------------------------------------- /contents/number-constructor-vs-parse-int.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/number-constructor-vs-parse-int.mdx -------------------------------------------------------------------------------- /contents/object-assign-vs-object-spread-operator.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/object-assign-vs-object-spread-operator.mdx -------------------------------------------------------------------------------- /contents/object-constructor-function-vs-object-literals.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/object-constructor-function-vs-object-literals.mdx -------------------------------------------------------------------------------- /contents/object-freeze-vs-object-seal.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/object-freeze-vs-object-seal.mdx -------------------------------------------------------------------------------- /contents/object-get-own-property-names-vs-object-keys.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/object-get-own-property-names-vs-object-keys.mdx -------------------------------------------------------------------------------- /contents/object-is-vs-strict-equality-operator.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/object-is-vs-strict-equality-operator.mdx -------------------------------------------------------------------------------- /contents/object-property-vs-object-define-property.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/object-property-vs-object-define-property.mdx -------------------------------------------------------------------------------- /contents/object-property-with-vs-without-quotes.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/object-property-with-vs-without-quotes.mdx -------------------------------------------------------------------------------- /contents/object-vs-map.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/object-vs-map.mdx -------------------------------------------------------------------------------- /contents/parent-element-vs-parent-node.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/parent-element-vs-parent-node.mdx -------------------------------------------------------------------------------- /contents/postfix-increment-vs-prefix-increment.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/postfix-increment-vs-prefix-increment.mdx -------------------------------------------------------------------------------- /contents/preload-vs-prefetch.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/preload-vs-prefetch.mdx -------------------------------------------------------------------------------- /contents/pseudo-classes-vs-pseudo-elements.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/pseudo-classes-vs-pseudo-elements.mdx -------------------------------------------------------------------------------- /contents/react-create-element-vs-jsx.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/react-create-element-vs-jsx.mdx -------------------------------------------------------------------------------- /contents/react-create-element-vs-react-clone-element.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/react-create-element-vs-react-clone-element.mdx -------------------------------------------------------------------------------- /contents/react-fragment-shorthand-vs-longhand.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/react-fragment-shorthand-vs-longhand.mdx -------------------------------------------------------------------------------- /contents/react-node-vs-react-element.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/react-node-vs-react-element.mdx -------------------------------------------------------------------------------- /contents/react-use-effect-vs-react-use-layout-effect.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/react-use-effect-vs-react-use-layout-effect.mdx -------------------------------------------------------------------------------- /contents/react-use-state-vs-react-use-reducer.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/react-use-state-vs-react-use-reducer.mdx -------------------------------------------------------------------------------- /contents/read-only-vs-read-only-array.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/read-only-vs-read-only-array.mdx -------------------------------------------------------------------------------- /contents/resize-event-vs-resize-observer.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/resize-event-vs-resize-observer.mdx -------------------------------------------------------------------------------- /contents/script-async-vs-script-defer.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/script-async-vs-script-defer.mdx -------------------------------------------------------------------------------- /contents/set-interval-vs-set-timeout-vs-set-timeout-zero.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/set-interval-vs-set-timeout-vs-set-timeout-zero.mdx -------------------------------------------------------------------------------- /contents/set-vs-array.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/set-vs-array.mdx -------------------------------------------------------------------------------- /contents/slice-vs-splice.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/slice-vs-splice.mdx -------------------------------------------------------------------------------- /contents/standard-event-handler-vs-event-delegation.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/standard-event-handler-vs-event-delegation.mdx -------------------------------------------------------------------------------- /contents/stateless-vs-stateful-components.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/stateless-vs-stateful-components.mdx -------------------------------------------------------------------------------- /contents/stop-immediate-propagation-vs-stop-propagation.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/stop-immediate-propagation-vs-stop-propagation.mdx -------------------------------------------------------------------------------- /contents/string-char-at-vs-string-bracket-notation.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/string-char-at-vs-string-bracket-notation.mdx -------------------------------------------------------------------------------- /contents/string-vs-string.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/string-vs-string.mdx -------------------------------------------------------------------------------- /contents/style-width-vs-width.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/style-width-vs-width.mdx -------------------------------------------------------------------------------- /contents/substr-vs-substring.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/substr-vs-substring.mdx -------------------------------------------------------------------------------- /contents/undefined-vs-void.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/undefined-vs-void.mdx -------------------------------------------------------------------------------- /contents/variable-undefined-vs-typeof-variable-undefined.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/variable-undefined-vs-typeof-variable-undefined.mdx -------------------------------------------------------------------------------- /contents/void-vs-never.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/void-vs-never.mdx -------------------------------------------------------------------------------- /contents/word-break-break-all-vs-word-wrap-break-word.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phuocng/this-vs-that/HEAD/contents/word-break-break-all-vs-word-wrap-break-word.mdx --------------------------------------------------------------------------------