TypeScript and Playground練習問題集更新情報
WIP
import { Hono } from 'hono' | |
import React, { Suspense } from 'react' | |
import { renderToReadableStream } from 'react-dom/server' | |
import { suspend } from 'suspend-react' | |
const app = new Hono() | |
function Component() { | |
const data = suspend(async () => { | |
const res = await fetch('https://jsonplaceholder.typicode.com/todos') |
{"prompt": "Generate a unique SaaS Name and description: ->", "completion": " SaaS Name: Pukket, Description: Social Media Management App focused on Local SMBs.\n###"} | |
{"prompt": "Generate a unique SaaS Name and description: ->", "completion": " SaaS Name: Stock AI, Description: Get Stock Images Generated by AI + In-built blogpost image generator.\n###"} | |
{"prompt": "Generate a unique SaaS Name and description: ->", "completion": " SaaS Name: Rewardful, Description: Build Your own affiliate program to scale your business.\n###"} | |
{"prompt": "Generate a unique SaaS Name and description: ->", "completion": " SaaS Name: PageFlow, Description: Storytelling Tool to generate content in English & German.\n###"} | |
{"prompt": "Generate a unique SaaS Name and description: ->", "completion": " SaaS Name: Arcade Software, Description: To create Interactive Product Demos for Landing Pages.\n###"} | |
{"prompt": "Generate a unique SaaS Name and description: ->", "completion": " SaaS Name: Lanva.io, Description: Turn Your Long form |
import ts, { factory } from "typescript"; | |
export function transformerFactory(context: ts.TransformationContext) { | |
function visitNode(node: ts.Node): ts.Node { | |
const newNode = ts.visitEachChild(node, visitNode, context); | |
if ( | |
ts.isJsxOpeningElement(newNode) || | |
ts.isJsxSelfClosingElement(newNode) | |
) { | |
return appendSourceMapAttribute(newNode.getSourceFile(), newNode); |
TypeScript and Playground練習問題集更新情報
WIP
<?php | |
namespace Acms\Custom; | |
use DB; | |
use SQL; | |
use ACMS_Filter; | |
/** | |
* ユーザー定義のHookを設定します。 | |
*/ |
/** | |
* External Dependencies | |
*/ | |
import classnames from 'classnames'; | |
/** | |
* WordPress Dependencies | |
*/ | |
const { __ } = wp.i18n; | |
const { addFilter } = wp.hooks; |
import React from 'react'; | |
const ConditionalWrap = ({condition, wrap, children}) => condition ? wrap(children) : children; | |
const Header = ({shouldLinkToHome}) => ( | |
<div> | |
<ConditionalWrap | |
condition={shouldLinkToHome} | |
wrap={children => <a href="/">{children}</a>} | |
> |
Put this on your wp-config.php
/* That's all, stop editing! Happy blogging. */
define('FS_METHOD', 'direct');