React

How To Create React Elements with JSX — step-by-step Javascript tutorial on Progressive Robot

How To Create React Elements with JSX

JSX is an abstraction that allows you to write HTML-like syntax in your JavaScript code and will enable you to build React components that look like standard HTML markup. Since you are also writing JavaScript, you’ll be able to take advantage of JavaScript functions and methods, including array mapping and short-circuit evaluation for conditionals. In this tutorial, you’ll build a working application that uses a variety of JSX features to display elements that have a built-in click listener.

Read more
React でカスタムページネーションを構築する方法 — step-by-step Javascript tutorial on Progressive Robot

React でカスタムページネーションを構築する方法

ビュー上で大きなデータセットを扱う方法として、無限スクロールを利用した方法があります。これにより、ユーザーがページの終わり近くまでスクロールし続けると、より多くのデータがチャンクデータとなって読み込まれます。これは、Google 画像の検索結果を表示するために使用される手法です。このチュートリアルでは、大きなデータセットをページネーションするために React を使用してカスタムのページネーション構成を構築する方法を説明します。世界の国々のページングされたビューを構築します。

Read more
CHAT