4.1.4 • Published 6 years ago
react-bifrost v4.1.4
@bifrost
Purpose
- Types end to end (front-end for registered functions)
- Types are implicitly inferred (no need to declare them in a separate files to have access in the front-end and back-end)
- Functions can be configured to execute on the server or locally
- A synchronous cache layer is supported at the function level (async is not supported because given the nature of react hooks it can impact performance)
Notes
- Assumes functions have a single input parameter object
- The second parameter is an optional express.Request (used for auth if desired)
- Functions should throw errors. If desired the following interface can be used if you want to set a statusCode
{ statusCode: number, error: Error }
- The express server assumes the body-parser exists
4.1.4
6 years ago
4.1.3
6 years ago
4.1.2
6 years ago
4.1.1
6 years ago
4.1.0
6 years ago
4.0.9
6 years ago
4.0.8
6 years ago
4.0.7
6 years ago
4.0.6
6 years ago
4.0.5
6 years ago
4.0.4
6 years ago
4.0.3
6 years ago
4.0.2
6 years ago
4.0.1
6 years ago
4.0.0
6 years ago
3.0.3
6 years ago
3.0.2
6 years ago
3.0.1
6 years ago
3.0.0
6 years ago
2.2.1
6 years ago
2.1.1
6 years ago
2.1.0
6 years ago
2.0.7
6 years ago
2.0.6
6 years ago
2.0.5
6 years ago
2.0.4
6 years ago
2.0.3
6 years ago
2.0.2
6 years ago
2.0.1
6 years ago
2.0.0
6 years ago
1.0.0
6 years ago