Unclaimed project
Are you a maintainer of react-nil? Claim this project to take control of your public changelog and roadmap.
Changelog
⃝ A react null renderer
This release adds support for React 19, and removes its own act export in favor of React.act.
Any augmentations or references to global JSX are now to be included in the react module. You can check out the React 19 changelog here.
import { useState, useEffect, act } from 'react'
import { render } from 'react-nil'
declare module 'react' {
namespace JSX {
interface IntrinsicElements {
timestamp: Record<string, unknown>
}
}
}
function Test() {
const [value, setValue] = useState(-1)
useEffect(() => setValue(Date.now()), [])
return <timestamp value={value} />
}
const container = await act(async () => render(<Test />))
// { type: 'timestamp', props: { value: number }, children: [] }
console.log(container.head)
Full Changelog: https://github.com/pmndrs/react-nil/compare/v1.3.1...v2.0.0
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
The open source coding agent.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.