Reporting Issues
Bug reports
When reporting bugs, please include:
- Clear description of the issue
- Steps to reproduce the problem
- Expected behavior vs actual behavior
- Environment details (OS, Node.js version, etc.)
- Code example that demonstrates the issue
Bug Report Template
## Bug Description
Brief description of what went wrong.
## Steps to Reproduce
1. Create a component with...
2. Call lens.useRefraction()...
3. Observe the error...
## Expected Behavior
The component should...
## Actual Behavior
Instead, the component...
## Environment
- Refract version: 1.0.0
- Node.js version: 18.0.0
- Operating System: macOS 13.0
- Browser: Chrome 108.0
## Code Example
\`\`\`javascript
const BuggyComponent = createComponent(({ lens }) => {
// Code that reproduces the issue
});
\`\`\`
## Additional Context
Any other relevant information...
Feature requests
For feature requests, please include:
- Problem description - What problem does this solve?
- Proposed solution - How should it work?
- Use cases - When would this be useful?
- Examples - Show how to use it
- Alternatives - What other solutions exist?