Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Creates v2.0.0 - New Rendering API #140

Merged
merged 4 commits into from Oct 30, 2021
Merged

Conversation

JaredSartin
Copy link

This version adds a more standardized and backwards compatible rendering API (using insertBefore and appendChild for use in older browsers and allowing JSX top-level fragments). The extra render modes are more explicit in location of render, before, prepend, append, and after target element.

This version adds a more standardized and backwards compatible rendering API (using insertBefore and appendChild for use in older browsers and allowing JSX top-level fragments). The extra render modes are more explicit in location of render, before, prepend, append, and after target element.
@JaredSartin
Copy link
Author

This PR also includes builds and version bump in the package JSON. Only missing part is github tagging!

Removed the over-use of the word support!
@bitboxer
Copy link
Owner

Thanks for this. I will review it on the weekend. One litte note: because of the API changes, I am leaning to a version 2.0.0 for this.

@JaredSartin
Copy link
Author

JaredSartin commented Oct 14, 2021 via email

@JaredSartin
Copy link
Author

I will also fix these tests. Blindly missed them >_<

- Fixes tests that I somehow ignored, bad me.
- Adds tests for new render modes
- Adds tests for rendering fragments
- Adds tests for error cases on before/after rendering when given a top level fragment
@JaredSartin JaredSartin changed the title Creates v1.2.0 - New Rendering API Creates v2.0.0 - New Rendering API Oct 14, 2021
@JaredSartin
Copy link
Author

I opted to not alias the old API - as it would be a mess of tangled wires. Happy to do this if we think it would be beneficial.

- Readme.md reflects 2.0.0
- Adds error cases for before/after when given a fragment
- Updates build and package version
@bitboxer
Copy link
Owner

@JaredSartin sorry for the delay, haven't forgotten this, but everyone in my family is sick with the flu right now, will come back to this when everyone is healthy again.

@JaredSartin
Copy link
Author

JaredSartin commented Oct 18, 2021 via email

@bitboxer bitboxer merged commit 1204e7b into bitboxer:main Oct 30, 2021
@bitboxer
Copy link
Owner

It's released now 🥳. Thanks for your patience.

@JaredSartin
Copy link
Author

JaredSartin commented Oct 31, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants