Github user's stars (pagination)436 words
"https://esm.town/v/vtdocs/getGithubStars"; console.log(await getGithubStars("stevekrouse")); Email yourself when you get a comment reaction! Section titled “Email yourself when you get a comment reaction!” Create a GitHub personal access token: https://github.com/settings/personal-access-tokens/new. Give it
Sections
Email yourself when you get a comment reaction!
you get a comment reaction! Section titled “Email yourself when you get a comment reaction!” Create a GitHub personal access token: https://github.com/settings/personal-access-tokens/new. Give it permissions to the repositories that you’re
HTML & JSX116 words
of your file: /** @jsxImportSource https://esm.sh/react */ React. Section titled “React” We recommend using React: Preact. Section titled “Preact” Preact is a great alternative to React: Vue. Section titled “Vue”
Sections
HTML & JSX
Preact, the pragma will look like this at the top of your file: /** @jsxImportSource https://esm.sh/react */
React
React. Section titled “React” We recommend using React:
Preact
Preact. Section titled “Preact” Preact is a great alternative to React:
Saving data from a web page521 words
is a remix of the above app that uses client-side React to make the API calls: You could easily host the React part anywhere (Vercel, Netlify, etc) and have it
Sections
Blob storage
is a remix of the above app that uses client-side React to make the API calls: You could easily host the React part anywhere (Vercel, Netlify, etc) and have it
SQLite example
will leave it as an exercise to an ambitious and helpful reader to convert the React demo to use SQLite and submit a PR to this docs page. Note: we
Your first website255 words
about this page. This is a guide to making a website on Val Town using React JSX, such as a link-in-bio page or a personal website. Step 1: Sign up
Sections
Your first website
about this page. This is a guide to making a website on Val Town using React JSX, such as a link-in-bio page or a personal website.